How to create a PKCS#12 (PFX) file on a Windows server

Solution

Part 1: Create a "certificates" snap-in using the MMC:

Microsoft IIS Version 6.0
 

  1. Click Start > Run
  2. In the search box, type mmc
  3. Click OK
  4. From the Microsoft Management Console (MMC) menu bar, select File (in IIS 6.0) > Add/Remove Snap-in
  5. Click Add
  6. From the list of snap-ins, select Certificates
  7. Click Add
  8. Select Computer account
  9. Click Next
  10. Select Local computer
  11. Click Finish
  12. In the snap-in list window, click Close
  13. In the Add/Remove Snap-in window, click OK



Microsoft IIS Version 7.0

  1. Click Start
  2. In the "Search programs and files" box, type mmc
  3. At the permission prompt, click Yes
  4. From the Microsoft Management Console (MMC), click  File > Add/Remove Snap-in
  5. From the list of snap-ins, select Certificates
  6. Click Add
  7. Select Computer account
  8. Click Next
  9. Select Local computer (the computer this console is running on)
  10. Click Finish
  11. In the Add/Remove Snap-in window, click OK



Microsoft IIS Version 8.0
 

  1. Access the Search menu. In the search box, type mmc
  2. From the Microsoft Management Console (MMC), click  File > Add/Remove Snap-in
  3. From the list of snap-ins, select Certificates
  4. Click Add
  5. Select Computer account
  6. Click Next
  7. Select Local Computer (the computer this console is running on)
  8. Click Finish
  9. In the Add/Remove Snap-in window, click OK


 
Part 2: Export SSL certificate, private key, and  Intermediate CA's:
 

  1. From the top, expand Certificates (Local Computer)
  2. Expand the Personal folder
  3. Click on the Certificates sub-folder
  4. Locate the SSL certificate in the list on the right
  5. Right-click on the certificate and select All Tasks > Export.
  6. Select "Yes, Export the private key"
  7. Click Next
  8. In the Export File Format window, ensure the option for "Personal Information Exchange  - PKCS#12 (.pfx)" is selected
  9. Select "Include all certificates in the certification path if possible"
  10. Click Next
  11. Enter and confirm a password to protect the pfx file. Click Next
  12. Click Next
  13. Browse to the location where the pfx file should be saved. Enter a name for the file.
  14. Click Next
  15. Read the summary and verify that the information is correct.
  16. Click Finish