When migrating a website or service to a new Windows server, you may need to transfer your existing SSL certificate. The process involves two steps:
Exporting the certificate (with private key) from the old server
Importing the certificate on the new server
This guide walks you through each step using the MMC (Microsoft Management Console) and works across Windows Server versions and IIS (7, 8, 10, and above).
Open MMC
Press Windows + R
, type mmc
, and press Enter.
Add the Certificates Snap-In
Go to File > Add/Remove Snap-in.
Select Certificates, click Add.
Choose Computer account, then click Next.
Select Local computer, then click Finish.
Click OK to close the dialog.
Locate the Certificate
In the left pane, expand Certificates (Local Computer) → Personal → Certificates.
Find the certificate you want to export.
Export the Certificate
Right-click the certificate → All Tasks > Export.
In the Certificate Export Wizard, select:
Yes, export the private key → Click Next.
Keep the default format (usually .PFX
) → Click Next.
Set a strong password for the export file → Click Next.
Enter a file name and path to save the .pfx
file → Click Next.
Click Finish to complete export.
Transfer the .pfx File
Copy the exported .pfx
file securely to the new server.
Open MMC and Load Certificates Snap-In
Repeat steps 1–3 above on the destination server.
Import the Certificate
Right-click Personal > Certificates → All Tasks > Import.
Follow the Certificate Import Wizard:
Select the .pfx
file → Click Next.
Enter the password you set during export.
Check “Mark this key as exportable” (optional but recommended) → Click Next.
Ensure the certificate is placed in the Personal store → Click Next.
Click Finish.
Open IIS Manager
Run inetmgr
from the Start menu.
Select Your Website
In the left pane, expand Sites, and select the site that needs SSL.
Edit Bindings
In the right pane, click Bindings.
Click Add or Edit, set Type to https
.
Choose the newly imported certificate from the list.
Click OK, then Close.
Always use a strong password when exporting a private key.
Ensure that both servers are secure and have up-to-date antivirus protection before transferring .pfx
files.
Double-check the certificate’s validity period and domain name after import.
You can automate this process using PowerShell for enterprise environments.
Contact our Help Desk for assistance with migrating your SSL.