Tested tool guide
Tested browser tools
Checked August 16, 2026
What PKCS#12 / PFX Converter does, with a checked example
Repackages X.509 material between two container styles. It unpacks a password-protected .pfx/.p12 into its separate PEM blocks - a private key, then each certificate in the chain, one block per item - and it does the reverse, bundling a PEM private key with its certificate chain into a password-protected .p12 file. The recurring surprise is that a PKCS#12 file is encrypted, not merely encoded: the password locks the entire container, so without it the conversion cannot even start, and there is no recovery path. A .pfx commonly holds several certificates, so PEM output is usually multiple blocks rather than one.
Worked example
A concrete input and expected output from the current implementation.
Input
Two PEM blocks pasted one after the other - a private key (-----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY-----) and its matching certificate (-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----) - plus an export passphrase of 'change-it-now'. The base64 bodies are elided here; a real paste includes them in full.
->
Expected output
A .p12 file delivered as a download, containing exactly one private key and one certificate. Opening it, listing its contents, or converting it again requires the passphrase 'change-it-now'; any other passphrase fails before the contents are visible.
The converter base64-decodes each PEM block to its DER form, packs the two items into the container, and derives the file's encryption and MAC keys from the passphrase you entered, so that passphrase is the only one that can ever open it. The output is binary, so this entry describes its structure rather than bytes, which depend on your key material.