PFX Export/Import Explained
How to Import and Export your SSL Certificate in IIS 7
PFX Backup Tutorial for Microsoft IIS 7 ServersThe PFX extension is used on Windows servers for files containing both the public key files (your SSL certificate files, provided by DigiCert) and the associated private key (generated by your server at the time the CSR was generated).
Since both the public and private keys are needed for an SSL certificate to function, a PFX backup is always needed to transfer an SSL server security certificate from one server to another.
This tutorial explains how to back up your certificate from a working server, import the certificate to a second server, and then enable the certificate for use on the new server. If you have not yet installed the certificate files you received from DigiCert to the server that generated your CSR, please see our IIS 7 installation instructions.
Exporting/Backing up your certificate/Private Key (to .pfx file format)
- Start > Run
- Type in MMC and click OK
- Go into the File Tab > select Add/Remove Snap-in
- Click on Certificates and click on Add.
- Select Computer Account > Click Next
- Select Local Computer > Click Finish
- Click OK to close the Add/Remove Snap-in window.
- Double click on Certificates (Local Computer) in the center window.
- Double click on the Personal folder, and then on Certificates.
- Right Click on the Certificate you would like to backup and choose > ALL TASKS > Export
- Follow the Certificate Export Wizard to backup your certificate to a .pfx file.
- Choose to 'Yes, export the private key'
- Choose to "Include all certificates in certificate path if possible." (do NOT select the delete Private Key option)
- Enter a password you will remember
- Choose to save file on a set location
- Finish
- You will receive a message > "The export was successful." > Click OK
- The .pfx file backup is now saved in the location you selected.
- Start > Run
- Type in MMC and click OK
- Go into the File Tab > select Add/Remove Snap-in
- Click on Certificates and click on Add.
- Select Computer Account > Click Next
- Select Local Computer > Click Finish
- Click OK to close the Add/Remove Snap-in window.
- Double click on Certificates (Local Computer) in the center window.
- Right click on the Personal Certificates Store (folder)
- Choose > ALL TASKS > Import
- Follow the Certificate Import Wizard to import your Primary Certificate from the .pfx file. You will need to browse for .pfx files.
- Enter the password that was used when exporting the certificate to a .pfx file.
- If desired, check the box to "Mark this key as exportable."
- When prompted, choose to automatically place the certificates in the certificate stores based on the type of the certificate.
- Click Finish to close the certificate wizard.
- Close the MMC console. In the case that you are prompted, it is not necessary to save the changes made to the MMC console.
- Click on Start, then Administrative Tools, then Internet Information Services (IIS) Manager.
- Click on the server name.
- Expand the Sites folder.
- Select the site to be secured (usually the default web site).
- From the "Actions" menu (on the right), click on "Bindings..." under Edit Site.
- In the "Site Bindings" window, click "Add..." This will open the "Add Site Binding" window.
- Under "Type" choose https. The IP address should be the IP address of the site or All Unassigned, and the port over which traffic will be secured by SSL is usually 443. The "SSL Certificate" field should specify the certificate that was installed during the import process described above.
- Click "OK."
- Your SSL certificate is now installed, and the website configured to accept secure connections.
No comments:
Post a Comment