Apache: Install SSL manually

(1) To install the SSL to the Apache server, first thing that need done is locate is the Virtual Host File. On most Apache servers the Virtual Sites are configured in the /etc/httpd/conf/httpd.conf file. However it can vary from server to server.

(2) Identify the secure Virtual Host for your site which is with port 443. Please make sure it in dedicated IP and not the share IP.

(3) Configure the Virtual Host For SSL as below.

< VirtualHost >
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/DigiCertCA.crt
< /VirtualHost >

(4)Save the changes to your configuration file

(5)Verify that the all the key,crt and etc is saved to the path you configured.

(6)Restart Apache

Leave a Reply

Your email address will not be published. Required fields are marked *