Certificate Installation: Apache
You should have received your certificate from us, a file typically named 'your_domain_com.crt' as well as the 'CA bundle' file containing the intermediate certificates, typically named 'your_domain_com.ca-bundle'. [or download the Ca Bundle]
Installing the certificate requires you to be able to make changes to Apache's configuration files, and restart the Apache server process. Please ensure you can do this before you continue. Also, you will need a Dedicated IP for the SSL domain. You cannot install the SSL on to a IP where are more then one domains!
- Copy the certificate and CA bundle file to your server, into a directory where you plan to keep your certificates.
This is commonly /etc/ssl/.
- You will now need to edit the Apache configuration file. The location of this file can vary depending on your distribution (Windows, Debian/CentOS/Fedora/etc. Linux) and the version of Apache you are using.
Locate the file and open it in your preferred editor.
- Locate the VirtualHost section for the ssl-enabled site you are installing the certificate for. This will commonly begin .
- Add the following lines into the VirtualHost section, making sure to change the paths of the files to correspond to the locations of the files on your server.
Apache 1.3.x:SSLEngine on
SSLCACertificateFile /etc/ssl/ssl.crt/yourDomainName.ca-bundleApache 2.x:SSLEngine on
- Save the changes to the file. Now you will need to restart Apache. It is sometimes required to 'stop' then 'start' Apache, instead of issuing the 'restart' command for the changes to take effect.
If you have chosen to have a password on your private key, you will be prompted to enter it each time Apache is started or restarted. Apache will not fully start until the password is entered.
The configuration file is often called httpd.conf or apache.conf, although sometimes the SSL-specific section is placed in a separate file called ssl.conf and linked from the main configuration by an 'Include' command. Sometimes, the VirtualHost section will be in a specific file for that site, in a sub-directory often labelled sites-enabled/.
Much of the layout of Apache's configuration files and directory naming conventions is controlled by the distribution of OS you are using. It is recommended that you look at the distribution's own site and documentation to confirm the locations:
Debian, CentOS, Fedora etc.
آیا این پاسخ به شما کمک کرد؟
در همین زمینه
To install your certificate, you will need to log in to your HSphere account. You will need a...
You will need a Dedicated IP for the SSL domain. You cannot install the SSL on to a IP where are...
There are a few files you need to edit in order to install the certificate for Direct Admin....
You should have received your certificate from us, a file typically named 'your_domain_com.crt'...
Installing a Certificate Signing Request (CSR) with a Java-based Webserver such as Tomcat, using...
Powered by WHMCompleteSolution