
Need multiple certificates? Buy in bulk and save £££s. Click Here to find out more
Apache SSL
Installing your SSL Certificate / Web Server Certificate / Secure Server Certificate from ssl247.co.uk
Firstly when your issuance email arrives you will have two certificates in the email - your server certificate and a UTN chained certificate.
Copy the UTN chained certificate into a text editor
such as notepad and save as chain.crt.
Copy your web server certificate into a text editor
such as notepad and save as yourdomain.crt.
Note: The examples below use the following naming conventions: "Your Private Key" = "domainname.key"; "Your Web Server Certificate" = "yourdomain.crt"; "UTN Chained Certificate" = "chain.crt"
1. Copy your web server 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/).
Note: Copy the entire contents of the certificate from (and including) the - - - - -BEGIN CERTIFICATE- - - - - and - - - - -END CERTIFICATE- - - - - lines.
2. Open the /etc/httpd/conf/ssl.crt/ (or /usr/local/apache/conf/ depending on your setup) directory. If it is not already present, create a new directory called ca-bundle.
Copy the chain.crt file to the ca-bundle directory that you have just created.
Note: Copy the entire contents of the certificate from (and including) the - - - - -BEGIN CERTIFICATE- - - - - and - - - - -END CERTIFICATE- - - - - lines.
3. Open the httpd.conf file in a text editor.
4. Locate the secure virtual host pertaining to your order. You should have the following directives within this virtual host. Please add them if they are not present:
SSLCertificateFile /usr/local/apache/conf/ssl.crt/yourdomain.crt
(or server.crt)
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/domainname.key
(or server.key)
SSLCACertificateFile /usr/local/apache/conf/ca-bundle/chain.crt
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 editor.
6. Start or Restart your apache web server.
Test your certificate by using a browser to connect to your server. Use the https protocol directive (e.g. https://your server/) to indicate you wish to use secure HTTP.
Note: The padlock icon on your browser will be displayed in the locked position if your certificates are installed correctly and the server is properly configured for SSL.
|