Create a PFX certificate from a CRT and private key using Windows

  1. 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.

  2. Rename both files to have the same name (but different extension):

Example:

mail.crt –> CRT file

mail.key –> private key

  1. 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.

Screenshot 2024-09-08 021252