Installing your SSL: Apache (OpenSSL)
To install your SSL certificate, you will need to do the following:
For Apache v1.X
Download the appropriate Intermediate Certificate(s) and save it in a text editor as intermediate.pem
Copy your SSL Certificate out of the order fulfilment e-mail and paste it into a text editor and save as mydomain.crt.
Copy mydomain.crt and intermediate.pem to the directory in which you plan to store your certificates.
Open your httpd.conf file (some installations keep the SSL section separately in the ssl.conf file) using a text editor, and locate the virtual host section for the site for which the SSL Certificate will secure.
Your virtual host section will need to contain the following directives:
- SSLCertificateChainFile – This will need to point to the appropriate Intermediate CA certificate.
- SSLCertificateFile – This will need to point to the end entity certificate (the one you have called mydomain.crt)
- SSLCertificateKeyFile – This will need to point to the private key file associated with your certificate.
Save the changes to the file and quit the text editor. Then restart Apache.
For Apache 2.X
Download the appropriate root certificate and save it in a text editor as gs_root.pem
Download the appropriate Intermediate Certificate(s) and save it in a text editor as intermediate.pem
Copy your SSL Certificate out of the order fulfilment e-mail and paste it into a text editor and save as mydomain.crt.
Copy mydomain.crt and intermediate.pem to the directory in which you plan to store your certificates.
Open your httpd.conf file (some installations keep the SSL section separately in the ssl.conf file) using a text editor and locate the virtual host section for the site for which the SSL Certificate will secure.
Your virtual host section will need to contain the following directives:
- SSLCACertificateFile – This will need to point to the appropriate root CA certificate.
- SSLCertificateChainFile – This will need to point to the appropriate intermediate CA certificate you previously created in Step 2 above.
- SSLCertificateFile – This will need to point to the end entity certificate (the one you have called mydomain.crt)
- SSLCertificateKeyFile – This will need to point to the private key file associated with your certificate.
Save the changes to the file and quit the text editor. Then restart Apache.