Entrust Datacard

Entrust Certificate Services Support Knowledge Base

Last Modified: 2016-09-01 13:30:49.0

How do I back up and restore SSL certificate and its associated private key in Apache?

Article Number: 46337

Question:

How do I back up and restore my SSL certificate and its associated private key in Apache?

 

Answer:

It is highly recommended that you back up your server certificate in a secure location.

 

To back up your certificate and private key files:

 

  1. Open the HTTPD.CONF file and locate your virtual host entry for the site/domain being secured by the certificate. you will find the name and location of the private key file, the certificate file, and any chain certificate files being used by this site/domain listed there.

 

  1. copy your private key file <file>.key, you certificate file <certificate>.crt, and any chain certificates you used <chain certificate>.crt to a secure location.

 

Note: store your private key’s password in a different location for added security.

 

To restore your certificate and private key files:

 

  1. copy your private key file <file>.key, you certificate file <certificate>.crt, and any chain certificates you used <chain certificate>.crt to the server.

 

  1. Open the HTTPD.CONF file and locate your vertical host entry for the site/domain being secured by the certificate. Define the paths for the files under the virtual host entry as shown in the example above.

 

 

TN8234

Affected Products:

  • Entrust Certificate Services 1 Year Advantage SSL Certificate Version Not Applicable Language Not Applicable Platform Not Applicable