How to Export and Import a Private Key?
Exporting a Private Key from Windows Server
To export a private key, you must create a .pfx file using the following steps:
1. Create an MMC Snap-in
- Right-click the Start button and select Run.
- Type mmc and press OK.
- In the MMC window, go to File > Add/Remove Snap-in.
- Choose Certificates, then click Add.
- Select Computer account, click Next, and choose Local Computer.
- Click Finish and return to the main console.
2. Export the Certificate
- Navigate to Certificates > Personal > Certificates in the MMC console.
- Right-click the target certificate and choose All Tasks > Export.
- Follow the wizard and select Yes, export the private key. (If unavailable, ensure the private key was marked exportable during creation.)
- Choose Personal Information Exchange – PKCS #12 (.pfx) and enable Include all certificates in the certification path.
- Set a secure password for the .pfx file and save it to a desired location.
- Complete the wizard and confirm export success.
Importing the .pfx File to Another Server
Using MMC
- Open MMC and navigate to Certificates > Personal.
- Right-click the folder and choose All Tasks > Import.
- Select the .pfx file, enter the password, and enable Mark this key as exportable.
- Choose Automatically select the certificate store and complete the wizard.
Using IIS Manager
- Open IIS Manager from Administrative Tools.
- Select the target server in the left menu and choose Server Certificates under Security.
- From the Actions menu, click Import.
- Select the .pfx file, enter its password, and allow export if needed.
- Confirm the import process.
Related Articles
How to Export Chained Certificate from Browser?
Exporting a Chained Certificate from Browsers Learn how to obtain a chained SSL certificate using Mozilla Firefox or Google Chrome. Follow these steps for each browser: Mozilla Firefox Open your website in Firefox. Click the lock icon beside the URL ...
How to Create PEM File?
PEM File Format Overview PEM, which stands for Privacy Enhanced Mail, is a widely used file format for storing and transferring encrypted data, particularly certificates and cryptographic keys. A file with a .PEM extension serves as a container for ...
Custom SSL Certificate
Custom SSL Certificate You can continue utilizing your custom SSL certificate by navigating to the VergeCloud HTTPS Settings. Introduction Custom SSL certificates are essential for securing data transmitted over the internet. With VergeCloud, users ...
DNS Zone File
How to Upload the DNS Zone File to VergeCloud User Panel In DNS architecture, a Zone represents the administrative control of a domain and its sub-domains. When a new domain is created, a corresponding Zone is established, which stores the domain ...
Steps to Activate Cloud Icon for VergeCloud
Checks Before Activating Cloud Icon For Domain Once you've transferred your website to VergeCloud and updated your DNS settings, there are a few steps to complete before activating the Cloud icon for the records in the VergeCloud user panel. These ...