.cert to .pem code example Example: convert crt to pem openssl x509 -inform DER -in yourdownloaded.crt -out outcert.pem -text