Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

You will need OpenSSL-Win32 or OpenSSL-Win64 installed

You will need the following files:

Cetificate.CRT

PrivateKey.KEY

Step 1: Convert key.txt to key.key

  • Open Command Prompt as administrator

  • Goto C:\Program Files\OpenSSL-Win64\bin (default folder)

  • Copy your PrivateKey.txt to C:\Program Files\OpenSSL-Win64\bin

image-20240315-005412.png
  • Run the following command line:

openssl rsa -in PrivateKey.txt -outform pem -out PrivateKey.key

image-20240315-005715.png

Step 2: Merge PrivateKey.key and Certificate.crt

  • Open Command Prompt as administrator

  • Goto C:\Program Files\OpenSSL-Win64\bin (default folder)

  • Copy your PrivateKey.key to C:\Program Files\OpenSSL-Win64\bin

  • Copy your Certificate.crt to C:\Program Files\OpenSSL-Win64\bin

  • Run the following command line:

openssl pkcs12 -export -out NewCertPFXFormat.pfx -inkey PrivateKey.key -in Certificate.crt

You will be prompted to create a password for the PFX file. Make sure to enter it correctly 1st and 2nd time.

image-20240315-010857.png


Reference:

https://www.ssl.com/how-to/create-a-pfx-p12-certificate-file-using-openssl/

  • No labels