To move or copy a SSL certificate from an Apache server to another Apache server, please use the steps below. This document was created to assist with the installation of a SSL certificate on an Apache server. If this document can not be used within the environment, RapidSSL recommends contacting an organization that supports Apache.
To move a certificate from Apache to Apache, follow these steps:
Step 1: Determine the location of the private key and certificate files.
- Look in the httpd.conf file (or the .conf file used for SSL directives) for the following directives because they point to the location of the key and certificate.
SSLCertificateFile - Server certificate
SSLCertificateKeyFile - Private key
SSLCertificateChainFile - Intermediate certificate.
Step 2: Export (back up) the certificate.
- Copy the three files to a secure location or device that can be accessed by the additional server
Step 3: Import the certificate.
- On the additional server, copy the three files to the appropriate directory.
- Edit the virtual host section of the .conf file so the three files are used for the SSL directives.
SSLCertificateFile directive points to the server certificate file.
SSLCeritificateKeyFile directive points to the private key file.
SSLCertificateChainFile directive points to the intermediate certificate file.
After Apache has been restarted, use the RapidSSL Checker.