To install certificate you need 2 files: .crt and .ca-bundle
Move all of the certificate related files to their appropriate directories.
A typical setup:
Move the Private Key that was generated earlier to the ssl.key directory, which is typically found in /etc/ssl/. This must be a directory which only Apache can access.
Move the yourDomainName.crt and yourDomainName.ca-bundle to the ssl.crt directory, which is typically found in the /etc/ssl/ directory.
Edit the file that contains the SSL configuration with text editor.
Note: The location of this file may vary from each distribution. It will be referenced in the Apache global configuration file. Look for the lines starting with include.
Apache Configuration File:
Fedora/CentOS/RHEL: /etc/httpd/conf/httpd.conf
Debian and Debian based: /etc/apache2/apache2.conf
Some possible names:
httpd-ssl.conf
ssl.conf
or in the /etc/apache2/sites-enabled/ directory.
Note: If need be please consult your distribution documentation on Apache and SSL or navigate to the Apache Foundation's Apache2 Documentation.
In the VirtualHost section of the file please add these directives if they do not exist. It is best to comment out what is already there and add the below entries.
SSLCertificateChainFile /etc/ssl/ssl.crt/yourDomainName.ca-bundle (Apache 1.x: Please use SSLCACertificateFile instead of SSLCertificateChainFile).
Note: The above paths in the directives are only used as examples. Your server may have a different path and may need to be modified to suit your needs.
Save your config file and restart the Apache service.
Do you like good cookies? We too! Some cookies are required for the website to function properly. Also accept additional cookies related to service performance, social networking and marketing. Cookies are also used to personalize ads. Thanks to them, you will get the best experience of our website, which we are constantly improving. The consent granted voluntarily may be withdrawn or modified at any time. More information about the cookies used can be found in our privacy policy. If you prefer to specify your preferences precisely - see the types of cookies below.