Rexxer

Some tips for me and other

Convert PFX to CRT and KEY

You just need to run some commands (you need enter password for pfx and new password for key – it must be different):

export crt from pfx:

openssl pkcs12 -in file.pfx -nocerts -out file.key

export key from pfx:

openssl pkcs12 -in file.pfx -clcerts -nokeys -out cert.crt

decrypt key:

openssl rsa -in file.key -out file2.key

without decryption your server will ask you for the password for key file.

P.S.: To create a bundle you need to copy your  crt and CA crts into one file. Your CRT must be the first.

Leave a Reply