Free Online SSL Converter
Use this Free SSL converter to convert SSL certificates to and from different formats (e.g. PEM, DER, P7B and PFX). Different platforms and devices require SSL certificates to be converted to different formats. For example, Windows servers exports and imports .pfx files, while Apache & Nginx servers use PEM (.crt, .cer) files.
Please rest assured that we do not record and store any information such as your Private Key and SSL/TLS digital certificate.
In addition to above SSL converter, you can also execute these OpenSSL commands on your computer and you will be able to convert your certificate to the format you need.
openssl pkcs12 -export -inkey private_key.key -in certificate.pem -certfile CACert.pem -out certificate.pfx
PEM format is the most common format used by Certificate Authorities. Its file extensions include .pem, .crt, .cer, and .key, which are Base64 encoded ASCII files and contain "-----BEGIN CERTIFICATE-----" & "-----END CERTIFICATE-----" statements. They can store server certificates, intermediate certificates and private keys.
Apache, Nginx, and other similar servers use PEM format certificates. Multiple PEM certificates, including the private key, can be included in a single file, listed one after another. However, most platforms (such as Apache) require the certificates and private key to be stored in separate files.
PKCS#12 or PFX format is a binary format that combines server certificate, intermediate certificates, and private key in a single encrypted file. PFX files commonly have extensions like .pfx and .p12. They are primarily used on Windows machines for certificate and private key import/export.
When converting a PFX file to PEM format using OpenSSL, all certificates and the private key are placed in a single file. To separate them, open the file in a text editor, copy each certificate and private key (including BEGIN/END statements) into individual text files, and save them as certificate.cer, CACert.cer, and privateKey.key.
