Login/Register

SSL Converter

Upload or paste a certificate and get it in the format your server asks for. Apache and Nginx want PEM, Windows and IIS want PFX, Tomcat and Java usually P7B or DER.

.pem, .crt, .cer, .der, .p7b, .pfx or .p12, up to 1 MB
For a PFX file or an encrypted key
Only when you convert to PFX
Only when you convert to PFX: a PFX file contains the key

Which format for which server

  • PEM (.pem, .crt, .cer, .key): text that starts with -----BEGIN. Apache, Nginx, HAProxy, cPanel, Plesk and almost everything on Linux.
  • DER (.der, .cer): the same certificate as a binary file. Java and some appliances.
  • P7B / PKCS#7 (.p7b, .p7c): the certificate with its chain, without a private key. Windows, IIS imports and Tomcat.
  • PFX / PKCS#12 (.pfx, .p12): certificate, chain and private key in one file protected by a password. IIS, Exchange, Azure and for moving a certificate from one server to another.

Converting to and from PFX

A PFX file is the only format here that contains the private key. To create one, paste the certificate and its private key and choose a password. To open one, upload the file and enter its password: you get the certificate, the chain and the key as PEM.

The same with OpenSSL

If you prefer the command line: openssl x509 -in cert.pem -outform der -out cert.der for DER, openssl crl2pkcs7 -nocrl -certfile cert.pem -out cert.p7b for P7B, and openssl pkcs12 -export -in cert.pem -inkey private.key -out cert.pfx for PFX.

Questions and answers

Are my files stored?
No. The file is converted in memory and the result is shown to you. Nothing is saved, including private keys and passwords.
Why is there no private key in my P7B or DER file?
These formats hold certificates only. If the new server needs the key in the same file, use PFX.
My PFX file can not be opened.
Check the password first. Files exported by old Windows versions use old encryption; the converter reads those too. If it still fails, the file is damaged or is not a PFX file.
Can I convert a P7B file to PFX?
Yes, when you also have the private key: upload the P7B, paste the key, choose PFX and a password.