Creating a PFX file from a CRT and KEY using OpenSSL

You can easily create a PFX file to install your SSL certificate in IIS from KEY and CRT files using OpenSSL:

openssl pkcs12 -export -out -inkey -in


or if you have the root CA and intermediate certificates the command is:

openssl pkcs12 -export -out -inkey -in -in intermediate.crt -in rootca.crt

Share this Post