Rate this article: (2 votes, average: 3.00)
Many users believe that once they’ve installed an SSL certificate on a web server, they can’t back up or export the certificate and install it on another server. Well guess what? They’re wrong. You absolutely can export a certificate with its private key.
Whether you’re migrating your server, just want to take back up of your certificate or want to export an SSL certificate because it’s corrupted, you can export or back up your SSL/TLS certificate no matter what web server you’re using.
So, when you export an SSL certificate, its private key is copied to an encrypted file on the local server. In this post, we’ll learn easy-to-implement steps for various software vendors and versions, including Microsoft IIS, Apache, and Tomcat.
Step 1: Create a Microsoft Management Console (MMC) Snap-in. To do this:
Step 2: Export Your SSL/TLS Certificate.
First, you must locate the private key and certificate files. Use the following directives in the main configuration file, find the location of the three key and certificate files:
NOTE: The name of the directive could be SSLCACertificateFile or SSLCertificateChainFile, and the configuration file may be httpd.conf or ssl.conf file
Now, copy the .key file, both .crt files (one is the server certificate and the other is the intermediate CA certificate), and the httpd.conf file onto a portable backup drive.
The directions for how to export an SSL certificate with your private key in Tomcat is unbelievably simple.
1. First, go to the location where your keystore has been kept.
2. Now, make a copy of the keystore file. This contains the private and public keys.
3. Finally, you can install the keystore file on another Tomcat server.
That’s it! Now you know how to successfully export your certificate with your private key.
Get SSL certificates that authenticate your identity and secure your site with prices that start as low as $7.27 per year!