OpenSSL certificate from der to pem
To convert a DER certificate to PEM format, use the following openssl command:
openssl x509 -inform der -in certificate.cer -out certificate.pem
To convert a DER certificate to PEM format, use the following openssl command:
openssl x509 -inform der -in certificate.cer -out certificate.pem