IIS: Export Pfx using MMC
Last updated
Was this helpful?
Last updated
Was this helpful?
On the Windows server 2016 where the SSL certificate is installed, open the Console.
In the Windows start menu, type mmc and open it.
In the Console window, in the top menu, click File > Add/Remove Snap-in.
In the Add or Remove Snap-ins window, in the Available snap-ins pane (left side), select Certificates and then click Add >.
In the Certificate snap-in window, select Computer account and then click Next.
In the Select Computer window, select Local computer: (the computer this console is running on), and then click Finish.
In the Add or Remove Snap-ins window, click OK.
In the Console window, in the Console Root pane (left side), expand Certificates (Local Computer), expand the folder that contains the certificate that you want to export/back up, and then, click the associated Certificates folder.
Note: Your certificate should be in either the Personal or the Web Hosting folder.
In the center pane, right-click on the certificate that you want to export/back up and then click All Tasks > Export.
In the Certificate Export Wizard, on the Welcome to the Certificate Export Wizard page, click Next.
On the Export Private Key page, select Yes, export the private key, and then, click Next.
On the Export File Format page, select Personal Information Exchange – PKCS #12 (.PFX) and then check Include all certificates in the certification path if possible.
Warning: Do not select Delete the private key if the export is successful.
On the Security page, do following one of the following options:
Confirm password:
ii. Then, create and confirm the password.
Password Note:
This password will be required when you import the certificate w/private key to your (different) Windows server 2016.
Group or user name
i. Check this box
(recommended)
ii. In the field below, select the Active Directory user or group account to which you want to assign
access to the certificate w/private key.
iii. Then, click Add.
Export/Import Note:
The server from which you export the certificate w/private key must be part of an AD domain.
The server to which you import the certificate w/private key must be tied to an AD domain with a domain controller (DC).
On the File to Export page, click Browse. In the Save As window, locate and select the certificate file that you want to export and then click Save. Finally, on the File to Export page, click Next.
Make sure to note the filename and the location where you saved your file. If you only enter the filename without selecting a location, your file is saved to the following location: C:\Windows\System32.
On the Completing the Certificate Export Wizard page, verify that the settings are correct and then, click Finish.
You should receive "The export was successful" message.
The SSL certificate w/private key .pfx file is now saved to the location that you selected.