Converting several formats to PEM format
The OpenSSL command can be used to convert certificates of another format to PEM format.
Converting a certificate in DER encoding to PEM format
A certificate in DER encoding has the extension .crt. To convert for example a vsign3 certificate to PEM format use this OpenSSL command:
-
openssl x509 -inform der -in vsign3.crt -out vsign3.pem
Converting a client certificate in PKCS12 format to PEM format
A client certificate from PKCS12 format has the extension .pfx
.
To convert for example a ccapi client certificate to PEM: