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 user@name.tld
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 user@domain.tld
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>
link|improve this question
2  
You don't appear to state an actual problem? – Phil P Aug 15 '10 at 0:46
feedback

2 Answers

The Apache folks have a web page on their wiki for this:

http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI

link|improve this answer
feedback

Maybe you need to add:

NameVirtualHost *:443

to your Apache config file?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.