(3 votes, average: 4.67 out of 5)
Loading...
Once your SSL certificate gets issued, you’ll require installing it on your server to see visible HTTPS URLs. Those who have Apache OpenSSL, go through the below steps and find out how you can install your issued SSL certificate.
Here are quick steps to install Comodo Positive SSL certificate in a server and show secure HTTPS URLs to prevent users from getting a “Not Secure” warning message.
Find out two main files of Apache that are usually named as:
Usually, these two files are found in /etc/apache2/ or /etc/httpd.
Note: The SSL config file may be within another config file of the <VirtualHost> block. On Linux distribution, you can search for an SSL conf file with the command:
grep -i -r “SSLCertificateFile” /etc/httpd/
Once you find the file, you’ll require to configure the httpd.conf file using below mentioned commands on Virtual Host for enabling SSL successfully:
<VirtualHost 192.168.0.1:443> DocumentRoot /var/www/html2 ServerName www.domainexample.com SSLEngine on SSLCertificateFile /path/to/ domain_example_name.crt SSLCertificateKeyFile /path/to/your_private.key SSLCertificateChainFile /path/to/cabundle.crt </VirtualHost>
Note:
If you are looking to load your website using http and https, you’ll need to create one more virtual host for http, which you can do by simply using the code mentioned earlier. Once the above steps are completed, it’s recommended that you test the newly updated config file by using the below command:
apachectl configtest
And if it’s successful, then restart your Apache server using commands:
apachectl stop apachectl start
You may require entering a password when generating your RSA key. Likewise, simply re-generate the RSA key file if you don’t want to enter any password.
Once the steps mentioned above are completed, you should see HTTPS URLs, as you’ve successfully installed your SSL certificate. Simply go through the website in your web browser and browse https://www.domain-example.tld and view the installed SSL certificate or site information. Likewise, we also recommend verifying it using the SSL Checker tool to ensure that Multi-Domain SSL certificate is installed correctly. Nonetheless, before you begin SSL installation, it’s recommended that you ensure you’ve below mentioned certificates:
The server certificate is received from the CA (Certificate Authority) side specifically for your website. You may receive it at your registered email address. If not, you can even download it through your Account Dashboard and go through your SSL order.
An intermediate certificate is a file that allows devices connecting with your server to know about the CA who issued an SSL certificate. Likewise, there might be multiple certificates if you’ve got a ZIP certificate folder. And, in such folder, Intermediate certificates are provided. Likewise, folders are known as CA Bundle.
The private key should be kept securely or within your possession on your server. Likewise, if you’ve Microsoft IIS, the private key may not be visible easily to you, but the server may have it.
Note: It’s recommended that the files mentioned above be kept securely on the server directory where all the key and certificate files are stored.