SSL Converter
Convert between PEM, DER, P7B and PFX. Paste the certificate, choose the format and run the conversion.
Convert between PEM, DER, P7B and PFX. Paste the certificate, choose the format and run the conversion.
The tool supports all major formats used in PKI infrastructure:
Conversion is possible in both directions between PEM, DER, P7B, and PEM ↔ PFX (with password support).
No. PKCS#12 (PFX) always requires a certificate + private key pair. If you try to generate a PFX without providing the key, the tool will return an error because a PFX file cannot be created in an incomplete format.
No. The tool works in stateless mode – all operations take place in RAM during a single PHP session. The contents of keys and certificates are never stored on the server, logged, or written to temporary files, except for standard OpenSSL conversion mechanisms.
The converter uses native PHP OpenSSL functions and – where required – secure OpenSSL commands (e.g., pkcs7, crl2pkcs7).
All operations are based on the standards:
Yes. Certificates must be correctly formatted:
-----BEGIN CERTIFICATE----- / -----END CERTIFICATE-----If the input structure is corrupted, the tool will display an error message.
Yes – converting P7B → PEM automatically generates a single PEM file containing:
If the P7B contains such a set.
The password secures the PKCS#12 archive, which contains:
A strong password is recommended because PFX is a highly sensitive format (it contains the private key).
Yes. Converting PFX → PEM generates a single PEM file containing:
The file can then be easily separated manually because each section has its own BEGIN/END headers.
Yes. The certificate type (DV/OV/EV) does not affect conversion. The tool operates on the binary X.509 certificate structure, which is identical regardless of the validation level.
The most common errors result from:
To verify the certificate after conversion:
openssl x509 -in cert.pem -text -noout