Apache Httpd SSL Install

Installing Apache Httpd SSL

1). Copy ‘yourdomain.crt’ and ‘yourdomain.cabundle’ to the directory you are preparing to store certs in.

2. Using a text editor, open the httpd.conf file (some installations keep the SSL portion in the ssl.conf file separately) and find the virtual host portion of the server for which the SSL certificate is protected.

The following instructions would need to be in your virtual host section:

SSLCACertificateFile-This would need to point to the required root CA certs (the one you named “yourdomain.cabundle”) that you previously received above.
SSLCertificateFile-The end object certificate (the one you name “yourdomain.crt”) would need to be pointed to.
SSLCertificateKeyFile-The private key file connected with your certificate would need to be pointed to.

3. Save the file changes and leave the text editor

4. Apache Restart.

In Apache, here is an overview of the lines and their paths:

SSLCACertificateFile /etc / ssl / certs / funiodemo.cabundle

SSLCertificateFile /etc / ssl / certs / funiodemo.com.crt

SSLCertificateKeyFile /etc / ssl / private / funiodemo.com.key

NOTE: The SSLCertificateChainFile instruction would not be supported by some versions of Apache. Try using FileinsteadSSLCACertificate.

For instance,


NOTE: The first directive informs Apache how to find the certificate file, while the second directive informs Apache how to locate the certificate file.
The private key is located, while the location of the intermediate certificate is on the third side.
If the location and certificate file names are different from the above case,
You will need to change the location and file names to the route represented on the server.