Greetings. I have two SSL sites configured under apache2, webmail.derfy.net and webmail.mmorpgmarketplace.com. Sites have self-signed certs. Server version info:
Code:
[Thu Jan 13 09:40:08 2011] [notice] Graceful restart requested, doing restart
[Thu Jan 13 09:40:14 2011] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Jan 13 09:40:14 2011] [notice] Apache/2.2.12 (Ubuntu) PHP/5.2.10-2ubuntu6.6 with Suhosin-Patch mod_ssl/2.2.12 OpenSSL/0.9.8g configured -- resuming normal operations
With both sites enabled,
https://webmail.derfy.net works as expected (manually adding the cert, of course). Attempting to visit
https://webmail.mmorpgmarketplace.com however brings errors in IE 8 and Chrome 8 claiming the site is webmail.mmorpgmarketplace.com, but presents a cert for webmail.derfy.net. Firefox 3.6.7 works as expected, using the proper cert for both sites.
What, if anything, am I doing wrong?
root@derfy:/etc/apache2/sites-available# cat webmail.derfy.net
Code:
<VirtualHost *:443>
DocumentRoot /var/www/root/webmail.derfy.net
ServerName webmail.derfy.net
SSLEngine On
SSLCertificateFile /etc/apache2/keys/webmail.crt
SSLCertificateKeyFile /etc/apache2/keys/webmail.key
</VirtualHost>
--------
root@derfy:/etc/apache2/sites-available# cat webmail.mmorpgmarketplace.com
Code:
<VirtualHost *:443>
DocumentRoot /var/www/root/webmail.mmorpgmarketplace.com
ServerName webmail.mmorpgmarketplace.com
SSLEngine On
SSLCertificateFile /etc/apache2/keys/webmail.mmp.crt
SSLCertificateKeyFile /etc/apache2/keys/webmail.mmp.key
</VirtualHost>