Call the Team: (London Office)

30 days guarantee
Knowledge Base

Install Apache 

Search our Knowledge Base
?   

INSTALL ON APACHE

If you are installing an EV SSL Certificate, please follow our Apache EV SSL Certificate Installation Instructions. Otherwise, please follow these instructions to install your SSL certificate on Apache.

 

1. Once you received your SSL certificate by e-mail, please copy and paste it into a text file (with Notepad or Wordpad) and save the file with the .crt extension. (Include the tags -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----).

2. Get your intermediate certificate. Copy and paste the content in a text file with the .crt extension.

If your certificate is in PKCS#12 format, see here how to split it into your SSL certificate and the intermediate certificate.

3. Copy the two files in the directory on your server where you will keep your certificate and key files. Make them readable by root only.

4. Find your Apache config file (it varies from server to server). This file is usually located in /etc/httpd. The file is usually named httpd.conf.

5. Find the <VirtualHost> blocks in httpd.conf. If you need your site to be accessible through both https and http, you need a virtual host for each type of connection. Make a copy of the existing non-secure virtual host and configure it for SSL. If you need your site to be accessed securely only, configure the existing virtual host.

6. Configure the <Virtualhost> block for the SSL-enabled site.

<VirtualHost 192.168.0.1:443>
DocumentRoot /var/www/html2
ServerName www.yourdomain.com
SSLEngine on
SSLCertificateFile /path/to/your_domain_name.crt
SSLCertificateKeyFile /path/to/your_private.key
SSLCertificateChainFile /path/to/intermediate_certificate.crt
</VirtualHost>

7. Test your Apache configuration before restarting by typing apachectl configtest.

8. Restart Apache !

apachectl stop
apachectl start

Note: If Apache doesn't start with SSL enabled, try "apachectl startssl" instead of "apachectl start". If it works, we recommend you adjust the apache startup configuration to include SSL support in the regular "apachectl start" command.

Was this information Useful?
Comments

Symantec

Norton seals are viewed more than half a billion times a day on more than 100,000 websites in 170 countries and in search results on enabled browsers, as well as partner shopping sites and product review pages. When website visitors see the Norton Trust Seal, they are less likely to abandon a transaction and more likely to do business with you online.

SSL Certificates

Our Partnerships
Our Accreditations
Our Trust Seal
Sitemap | Cookies | Legal
© 2018 . All rights reserved. SSL247 Limited is registered in England No: 5802692 | Tel:

Cookies SSL247 uses cookies to provide you a seamless user experience. For more information please read our Terms & conditions. Continue