Apache

Install Certificate - Apache

To install your SSL Certificate, perform the following steps:

1. Copy the certificate into a shell text editor and the file as "mydomain.crt"

Note: Copy the entire contents of the certificate from (and including) the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.

2. Copy the certificate to the Apache server directory in which you plan to store your certificates (by default: /usr/local/apache/conf/ssl.crt/ or /etc/httpd/conf/ssl.crt/ or /etc/ssl/crt/)

Note: If you have a custom installation, please locate the server directory.

3. Open the Apache httpd.conf file in a shell text editor.

4. Locate the SSL VirtualHost associated with your certificate. Verify that you have the following 2 directives within this virtual host. Please add them if they are not present:

SSLCertificateFile /usr/local/apache/conf/ssl.crt/domainname.crt (or server.crt)
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/domainname.key (or server.key)

AlphaSSL certificates will need a CA Bundle installed as well.  The CA Bundle can be downloaded here.  Upload to server and place in same directory as certificate with the file name domainname.cabundle.

httpd.conf will need the following added to it:

SSLCertificateChainFile /usr/local/apahce/conf/ssl.crt/domainname.cabundle


Note that some instances of Apache will store Virtual Host information in a ssl.conf file. If your httpd.conf contains no Virtual Host information then you will need to locate and amend the ssl.conf as above.

5. Save the changes and exit the shell editor.

6. Start or Restart your apache web server using one of the following commands:
By default:
/usr/local/apache/bin/apachectl startssl
or
/usr/local/apache/bin/apachectl restart

Other commands:
/usr/sbin/httpd startssl or restart
/usr/sbin/httpsd startssl or restart

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Cobalt

Install Certificate - Cobalt RaQ4 \ XTR To install your SSL Certificate, perform the following...

IIS 7.0

When you receive your SSL certificate, save it to your server with an extension of .crt. The...

c2Net Stronghold

Install Certificate - c2Net Stronghold To install your SSL Certificate, perform the following...

cPanel

Install Certificate - cPanel To install your SSL Certificate, perform the following steps: 1....

Ensim

Install Certificate - Ensim To install your SSL Certificate, perform the following steps: Copy...