INSTALL SSL Wildcard Certificate MULTIPLE SUBDOMAINS
Some sub-rmohans share the master rmohan’s SSL Wildcard Certificate,
like as a.rmohan.com and b.rmohan.com share a SSL Wildcard Certificate of *.rmohan.com.
1. put the certificate to the propel place
2. configure apache
a. enable name base virtual host
”
NameVirtualHost *:443
”
b. make sure listen 443 port
”
Listen 443
”
c. make sure load mod_ssl.so
”
LoadModule ssl_module modules/mod_ssl.so
SSLRandomSeed startup /dev/urandom 256
SSLRandomSeed connect builtin
SSLPassPhraseDialog builtin
SSLSessionCache shmcb:/var/cache/mod_ssl/ssl_scache(512000)
SSLSessionCacheTimeout 300
SSLMutex default
”
d. configure a wildcard rmohan
”
DocumentRoot /data/webapps/rmohan/web
ServerName www.rmohan.com
ServerAlias rmohan.com
DirectoryIndex index.html index.php
SSLEngine on
SSLProtocol all -SSLv2
#SSLStrictSNIVHostCheck off
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateFile “/etc/mohan/rmohan.com.crt”
SSLCertificateKeyFile “/etc/mohan/server.key”
SSLCertificateChainFile “/etc/mohan/gd_bundle.crt”
AllowOverride All
Order allow,deny
Allow from all
”
e. configure sub rmohan virtualhost
”
DocumentRoot /data/webapps/rmohan/web
ServerName a.rmohan.com
DirectoryIndex index.html index.php
SSLEngine on
SSLProtocol all -SSLv2
#SSLStrictSNIVHostCheck off
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateFile “/etc/mohan/rmohan.com.crt”
SSLCertificateKeyFile “/etc/mohan/server.key”
SSLCertificateChainFile “/etc/mohan/gd_bundle.crt”
AllowOverride All
Order allow,deny
Allow from all
Recent Comments