Setting Up SNI with Apache 2.2.12 and openssl
- by CCG121
I am running Apache 2.2.12 and openssl 0.9.8g all of my Apache are in /etc/apache2/sites-available/default and i have 2 domains with certificates www.site.com & d7.site.com my
<VirtualHost *:443>
DocumentRoot /var/www/domain.com
ServerAdmin [email protected]
ServerName www.name.tld
SSLStrictSNIVHostCheck off
SSLVerifyClient None
SSLEngine on
SSLCertificateFile /var/www/sslcerts/name.tld/www_name_tld.crt
SSLCertificateKeyFile /var/www/sslcerts/name.tld/private.key
</VirtualHost>
<VirtualHost *:443>
DocumentRoot /var/www/d7
ServerAdmin [email protected]
ServerName d7.domain.tld
SSLStrictSNIVHostCheck off
SSLVerifyClient None
SSLEngine on
SSLCertificateFile /var/www/sslcerts/d7.domain.tld/server.crt
SSLCertificateKeyFile /var/www/sslcerts/d7.domain.tld/private.key
</VirtualHost>