If you have your certificate file in a format that your server doesn't accept, you'll need to convert the certificate file's format.
You can easily do this on your own system by running a few OpenSSL commands.
Down below, you can find the OpenSSL commands that you'll need based on your certificate format and server type.

OpenSSL commands to convert PEM file

Convert PEM to DER

openssl x509 -outform der -in certificate.pem -out certificate.der

Convert PEM to P7B

openssl crl2pkcs7 -nocrl -certfile certificate.cer -out certificate.p7b -certfile CACert.cer

Convert PEM to PFX

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt

OpenSSL commands to convert DER file

Convert DER to PEM

openssl x509 -inform der -in certificate.cer -out certificate.pem


OpenSSL commands to convert P7B file

Convert P7B to PEM

openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer

Convert P7B to PFX

openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer

openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer

OpenSSL commands to convert PFX file

Convert PFX to PEM

openssl pkcs12 -in certificate.pfx -out certificate.cer -nodes


Found this article interesting?
Subscribe to DomainRegister´s newsletter!

You can unsubscribe at any time by simply clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp s privacy practices here.

  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

 Professional Opinion Letter for Extended Validation

When applying for EV, it can greatly speed up the process to complete and submit a professional...

 How to secure your Plesk control panel with an SSL certificate

Plesk control panel has his own SSL certificate, signed by Plesk, but most browsers do not...

 Let's Encrypt Free SSL Certificate: why maybe it's not what you need...

Let's Encrypt is a free Certificate Authority sponsored by the Internet Security Research Group....

 Generazione certificato SSL tramite link d'invito

Una volta acquistato un certificato SSL su DomainRegister. è possibile generarlo operando...

 Deprecation of three-years SSL certificates (january, 2018)

As for March 1, 2018 a new requirement of the CA/B Forum will be applied: the maximum...