How To Export An SSL Certificate To A PFX File In IIS

How to Export an SSL Certificate to a PFX File

Exporting an SSL certificate to a .pfx file allows you to migrate the certificate to another server or keep a secure backup. A PFX file includes both the certificate and its private key.

Supported platforms
  • Windows Server 2012, 2016, 2019, and 2022
  • IIS 8 and later
Before you begin
  • You must have administrator access to the server.
  • The SSL certificate must be installed with its private key.
Export the SSL certificate using IIS
  1. Log in to the server and open IIS Manager.
  2. Click the server name in the left-hand panel.
  3. Double-click Server Certificates.
  4. Locate the SSL certificate you want to export.
  5. Click the certificate, then select Export from the Actions panel.
  6. Choose a secure location to save the .pfx file.
  7. Enter a strong password to protect the file.
  8. Click OK to complete the export.
Tip: Store the PFX file and password securely. Anyone with access to both can use the certificate.
Verify the PFX file

After exporting, confirm the file exists and has a non-zero file size. You can import it on another server using IIS or the Certificates MMC.

Important: If the export option is unavailable, the private key may not be present. In that case, the certificate cannot be exported and must be reissued.
Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 19110

Need more information or have a question ?