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