Convert a certificate and key from PEM to PFX
convert pem to pfx openssl | export certificate for windows iis | create p12 file from crt and key | combine crt and key into pfx | openssl | pkcs12 | pfx | convertCaution: This command changes the system. Understand what it does before you run it.
openssl pkcs12 -export -out example.com.pfx -inkey example.com.key -in example.com.crt -certfile chain.pemCreates a PKCS#12 file containing the certificate, key and chain, and asks interactively for an export password. Windows, IIS, Exchange and some Java applications expect this format. An existing target file is overwritten.
Note: OpenSSL 3 encrypts with AES by default. Older Windows versions cannot import such files, in that case add -legacy.
Also searched as
- convert pem to pfx openssl
- export certificate for windows iis
- create p12 file from crt and key
- combine crt and key into pfx