Setting Up SNI with Apache 2.2.12 and openssl

Posted by CCG121 on Server Fault See other posts from Server Fault or by CCG121
Published on 2010-04-28T20:23:28Z Indexed on 2010/04/28 20:27 UTC
Read the original article Hit count: 281

Filed under:
|
|
|
|

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>

© Server Fault or respective owner

Related posts about sni

Related posts about apache