I. Apache requires three configuration files to install the SSL certificate:
(Tip: back up the server configuration file you want to modify before installing the certificate)
Export root_bundle.crt, 2_domainname.com.crt, and 3 _ domainname.com. key.
Note: These three certificate files are in the for Apache.zip folder,
For example, export root_bundle.crt is the root certificate chain, 2_domainname.com.crt is the public key, and 3 _ domainname.com. key is the private key. (The certificate public key and private key file are generally named after your domain name. The certificate suffix crt and cer are of the same nature)
2. After the certificate is merged, install the certificate.
1. Download and install apache with openssl. Apache requires three configuration files to install the SSL certificate:
Apache versions such as: httpd-2.2.22-win32-x86-openssl-0.9.8t.zip
2. Configure the httpd. conf file under Apache.
# LoadModule ssl_module modules/mod_ssl.so
# Include conf/extra/httpd-ssl.conf delete the configuration statement at the beginning of the line comment symbol "#"
3. Modify the httpd-ssl file in apache.
(1) open the httpd-ssl.conf file in the conf/extra directory under the apache installation directory, find the following configuration statement in the configuration file:
A). SSLCertificateFile/usr/local/apache/ssl/public. cer
(Configure the public key of the server certificate (2_domainname.com.crt) to this path and replace public. crt );
B). SSLCertificateKeyFile/usr/local/apache/ssl/private. key
(Configure the server certificate private key (3_domainname.com.key) to this path and replace private. key );
C). # SSLCertificateChainFile/usr/local/apache/ssl/ca. cer
(Delete the annotator "#" at the beginning of the line, configure the certificate (1_root_bundle.crt) to this path, and replace ca. cer ).
(2) save and quit, and restart Apache.