Apache + mod_ssl
Open the httpd.conf file, go to the settings section SSL certificate and CA file, location and name of the private key file is modified accordingly.
\"1\"=>Certificate key : SSLCertificateFile /usr/local/httpd2/ssl/cert_www.wincert.com.crt
\"2\"=>Private key : SSLCertificateKeyFile /usr/local/httpd2/ssl/prv_www.wincert.com.key
\"3\"=>CA Certificate key : SSLCACertificateFile /usr/local/httpd2/ssl/root_ca_cert.crt
1. Install SSL Certificate
A. Apache2.x
i. To modify httpd.conf below
------------------------------------------------------------------
# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf \"#\" Removed
------------------------------------------------------------------
ii. To modify conf/extra/httpd-ssl.conf
DocumentRoot \"/usr/local/apacheserver/www\"
ServerName www.wincert.com:443
ServerAdmin info@wincert.com
B. In the case of SAN SSL
To modify conf/extra/httpd-ssl.conf
Add the following directive.
#www.wincert.com
<VirtualHost *:443 >
# General setup for the virtual host
DocumentRoot \"/home/path1/www\"
ServerName www.wincert.com:443
ServerAdmin info@wincert.com
…
</VirtualHost >
#www.wincert.kr
<VirtualHost *:443 >
# General setup for the virtual host
DocumentRoot \"/home/path2/www\"
ServerName www.wincert.kr:443
ServerAdmin info@wincert.com
...
</VirtualHost>