Live Chat
Same Certs
Cheapest Price Seal
Less Price

Install SSL Certificate on Apache with mod_ssl

Install SSL Certificate on Apache
After generating Certificate Signing Request (CSR) for Apache, next step is to install SSL certificate on Apache. To secure communication over server, you need to install SSL certificate properly on server. In this helpful article, we will reveal about SSL certificate installation process on Apache & mod_SSL.

  • You will have zip file usually sent by the certificate authority, this file contains main certificate file and root and intermediate certificate files (CA Bundle). Extract these files to server.
  • First, move all-important files like private key to ssl.key directory (created with the CSR) that can be found in /etc/ssl/.
  • Now, move certificate file (mydomain.crt) and CA bundle (root and intermediate files) to ssl.crt directory that is also found in /etc/ssl/ directory.
  • Now, open Apache httpd.conf file with text editor, notepad or, notepad++. You will have SSL configuration file with names like httpd-ssl.conf and ssl.conf in In the /etc/apache2/sites-enabled/ directory.

PS. It may happen that the location of file may differ from each distribution. Look for the lines begin with Include in Apache Global Configuration File.

  • Go to Apache Configuration File. If you are using Fedora/CentOS/RHEL operating system, you will have below Apache configuration file:
/etc/httpd/conf/httpd.conf
  • If you are using Debian and Debian based operating system, you will have below Apache configuration file:
/etc/apache2/apache2.conf
  • You will have SSL configuration file with names like httpd-ssl.conf and ssl.conf in the /etc/apache2/sites-enabled/ directory.
  • Browse VirtualHost section of the file and add below directives if they are not present.
SSLEngine on
SSLCertificateKeyFile /etc/ssl/ssl.key/server.key
SSLCertificateFile /etc/ssl/ssl.crt/yourDomainName.crt
SSLCertificateChainFile /etc/ssl/ssl.crt/yourDomainName.ca-bundle ***
  • You can see below file in Apache 2.x version.
Apache 2.x:
SSLEngine on
SSLCertificateKeyFile /etc/ssl/ssl.key/server.key
SSLCertificateFile /etc/ssl/ssl.crt/yourDomainName.crt
SSLCertificateChainFile /etc/ssl/ssl.crt/yourDomainName.ca-bundle
  • At last, save your config file and restart the Apache server.

We suggest you to check your website using SSL checker tool, it will help you find SSL errors.

Cheap SSL Shop
4.8/5 overall satisfaction rating

Based on 2981 ratings from actual customers

Customer Reviews
"Not a new customer just a new account due to a name change. Love your prices and service. Thanks for everything! Jimmy - Prestacarts Global Commerce"
Jimmy Ray Warren J / TX, United States
"I have to say your tech "Mike" went out of his way to help me setup the CSR for our SSL. I am not a techie, and Mike was extremely helpful and patient with me. You need to hire more support personnel like Mike! Great job Mike!! Thank you for all your help!! Jana"
Jana K
"Been using you guys for several years. Clean built website with a great UI/UX that lets me get to what I need to buy quickly. I couldn't ask for more. Thanks!"
Devin N
5 Star
80%
4 Star
13%
3 Star
3%
2 Star
2%
1 Star
2%