Create a .pfx file suitable for IIS with openssl 

Joined:
04/09/2007
Posts:
753

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:
  1. Create the key and cert files as usual.
  2. Concatenate the key and cert:
    cat testServer.key testServer.crt >iisimport.pem
    

  3. Create the PKCS 12 file with openssl:
    openssl pkcs12 -export -in iisimport.pem -out iisimport.pfx
    

Share |
| Comment  | Tags