cer to pem code example
Example 1: convert crt to pem
openssl x509 -inform DER -in yourdownloaded.crt -out outcert.pem -text
Example 2: create cert from pem
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt