Create a .pfx file suitable for IIS with openssl
March 31, 2011 15:31:30 Last update: March 31, 2011 15:31:30
The
.pfx is a PKCS #12 file. Follow these steps to create one that can be imported to IIS:
- Create the key and cert files as usual.
- Concatenate the key and cert:
cat testServer.key testServer.crt >iisimport.pem
- Create the PKCS 12 file with openssl:
openssl pkcs12 -export -in iisimport.pem -out iisimport.pfx