Open a command prompt or terminal window on your computer.
Navigate to the folder where your .crt file is located using the "cd" command.
Type the following command to create a .pem file from your .crt file:
openssl x509 -in certificate.crt -out certificate.pem -outform PEM
Type the following command to create a .key file from your private key:
openssl rsa -in private.key -out private.pem -outform PEM
Type the following command to create a .pfx file from your .pem and .key files:
openssl pkcs12 -inkey private.pem -in certificate.pem -export -out certificate.pfx
Change you certificates name and private key name accordingly.
Avi
Comments
Post a Comment