Convert SSL Cert – p7b to pfx

If you have your SSL certificate in p7b format and need to convert to pfx format, you’ll need 3 files.

  1. The private key you get when generating your CSR
  2. The p7b certificate file
  3. The rootca bundle file

Use the following command to generate your pfx certificate.

openssl pkcs12 -export -in p7bcert.crt -inkey private.key -out outfile.pfx -certfile cabundle.crt

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.