convert from .cer to .pem code example
Example 1: convert crt to pem
openssl x509 -inform DER -in yourdownloaded.crt -out outcert.pem -text
Example 2: convert pem to private key openssl
openssl rsa -outform der -in private.pem -out private.key
openssl x509 -inform DER -in yourdownloaded.crt -out outcert.pem -text
openssl rsa -outform der -in private.pem -out private.key