Create a PFX certificate from a CRT and private key using Windows
-
Create a new folder and place your .crt and .key file in it. If the private key file is a .txt file, change extension to .key.
-
Rename both files to have the same name (but different extension):
Example:
mail.crt –> CRT file
mail.key –> private key
-
Open Command Prompt and navigate to the folder and run:
certutil -mergepfx mail.crt mail.pfx
You will be asked to create a password for the .pfx file. Store it as it will be required during certificate import on the target machine.