How to Backup or Export an SSL Certificate with the Private Key
Irrespective of the web server you are using, you can back up and export your SSL certificate and its private key. This article explains how to back up your SSL certificate in Microsoft, Tomcat, and Apache.
How to Backup or Export an SSL Certificate in Microsoft IIS
- Head to Start > run > MMC.
- Go to the console tab and click on File and then Add/Remove Snap-in.
- Select Certificate and click on Add, under the Available Snap-Ins column.
- Hit Next after selecting Computer Account.
- Click on Choose Local Computer > Finish.
- Once this is done, click OK on the Add/Remove Snap-in window after closing the Add Standalone Snap-in window.
- Open the Certificates snap-in > Personal and head to Certificates from the left-hand pane.
- From the list of certificates, right-click on the one you wish to export.
- Head to All Tasks and click on Export.
- In the Certificate Export Wizard that opens up, click on Yes, export the private key and click Next. You will now see the Export File Format window.
- Select the option for Personal Information Exchange — PKCS#12 (.pfx).
- Check the Include all certificates in the certificate path box.
- Make sure Require Strong Encryption is deselected.
- Protect your PFX using a password and hit Next.
- You can now choose the location where you wish to export the file, after choosing a file name. Hit Next to proceed.
- You are almost done. All you need to do now is to check if all the information is correct and click on Finish.
How to Export or Backup an SSL Certificate in Apache
- SSLCertificateFIle /path to/my_SSL_Certificate.crt
- SSLCertificateKeyFile /path to/key file that was created using the CSR.key
How to Export or Backup an SSL Certificate in Tomcat
- Start with getting to the location of your keystore.
- This keystore file contains the public and private keys, so make a copy of this file.
- Now, install the keystore file you just copied on a different Tomcat server.