SSL certificates can be valid for at most 199 days. By 15 March 2027 the limit becomes 99 days, for DigiCert certificates from 24 February 2027. Read more →
Exchange Normal ~2 min. read

Exchange: PFX export

Export an SSL certificate from Exchange Server to a PFX backup file using PowerShell or the Exchange Admin Center.

Exchange: PFX export

Exporting an SSL certificate from Exchange Server to a PFX file is essential for creating backups or migrating the certificate to another server.

List installed certificates

Open the Exchange Management Shell as an administrator. This method is compatible with all Exchange versions from 2007 to 2019.

Get-ExchangeCertificate

This lists all certificates with their Thumbprint, Services, and Subject. For more details, use:

Get-ExchangeCertificate | fl

Export via PowerShell (all versions)

The PowerShell method works on Exchange 2007, 2010, 2013, 2016, and 2019.

  1. Open the Exchange Management Shell as an administrator.
  2. Execute the following command (replace <Thumbprint> with the certificate's actual ID):
$file = Export-ExchangeCertificate -Thumbprint <Thumbprint> -BinaryEncoded:$true -Password (Get-Credential).password
  1. In the credentials prompt: type None as the username (it is ignored) and enter a secure password for the PFX file.
  2. Save the file to disk:
Set-Content -Path "c:\mail.eksempel.dk.pfx" -Value $file.FileData -Encoding Byte

Export via Exchange Admin Center (2013/2016/2019)

From Exchange 2013 onwards, you can also perform the export via the web-based interface:

  1. Open the Exchange Admin Center (EAC).
  2. Log in with administrator credentials.
  3. Click servers in the left-hand menu → select your server → click certificates at the top right.
  4. Highlight the certificate you want to export → click the three dots (...) → click Export Exchange certificate.
  5. Enter the UNC path where the PFX file should be saved (e.g. \\server\share\certificate.pfx).
  6. Choose a password to protect the file.
  7. Click OK.

Security

  • Store the PFX file securely – it contains your private key.
  • Always use a strong password for PFX encryption.
  • Delete the PFX file from shared network paths once the import is finished.

Strengthen your TLS security

Use IIS Crypto to easily configure secure TLS protocols and cipher suites on your Windows Server.

IIS Crypto TLS configuration guide

Certificates on many servers and appliances

A publicly trusted SSL certificate can be valid for at most 199 days now, 99 days by 15 March 2027 and 46 days by 15 March 2029. Each certificate then has to be replaced at least twice a year now and at least eight times a year from 2029, on every server, firewall and load balancer that uses it. sslbrain from FairSSL runs as an appliance in your own network and renews and installs the certificates from one place, including on devices without an agent.

How sslbrain renews and installs certificates on Exchange(opens sslbrain.com in a new tab)

Ready to create a free account?

Create a free account and order your first certificate. A DV certificate is issued in under 2 minutes.