Installing your SSL Server Certificate on your Linux server
Posted by on 2016-09-29 13:45
Installing your SSL Server Certificate
Step one: Copy your certificate to file
You will receive an email from the Registration Authority when your certificate request has been approved that contains a link to a location where your certificate may be obtained. Clicking on this link will bring up a browser window that contains the details of your issued certificate and includes a section that looks something like the following:
Copy everything you see between and including the lines that look like
and paste it into an appropriately named text file e.g. server.crt
Copy this certificate file into the directory that you will be using to hold your certificates.
In this example we will use:
It is recommended that you make the directory that contains the private key file only readable by root.
Step two: Install the CA Certificates
You will need to install the CA certificates in order for your webserver to use your SSL certificate properly. Apache users do not neded to install these certificates individually. Instead you can install the CA certificates using a 'bundle' method.
In the Virtual Host settings for your site, in the httpd.conf file, you will need to complete the following:
If you are using a different location and certificate file names you will need to change the path and filename to reflect your server.
The SSL section of the updated httpd config file should now read something similar to this example (depending on your naming and directories used):
Save your httpd.conf file and restart Apache.