Dear sir,

I am trying to set two named base Secured Virtual Hosts under one httpd
daemon as follows:

<IfModule mod_ssl.c>

<IfDefine SSL>

NameVirtualHost 207.99.47.2:443
<VirtualHost 207.99.47.2:443>
    ServerName www.cartco.com
    DocumentRoot /WebSites/cartco.com/docs
    SSLEnable
    SSLRequireSSL
    SSLCertificateFile real-estate.crt
    SSLCertificateKeyFile real-estate.key.unsecure
    ...
</VirtualHost>

NameVirtualHost 207.99.47.2:443
<VirtualHost 207.99.47.2:443>
    ServerName secure.real-estate.org
    DocumentRoot /WebSites/real-estate.org/docs
    SSLEnable
    SSLRequireSSL
    SSLCertificateFile cartco.crt
    SSLCertificateKeyFile cartco.key.unsecure
   ...
</VirtualHost>

</IfDefine>

</IfModule>

When I start apache everything seems ok.
However when I'm trying to access the second domain (ie
https:secure.real-estate.org) I get a certificate file from cartco (ie
cartco.crt). This
in turn is causing the IE 4.0 browser not be able to proceed. Because the
domain name doesn't match the name on the certificate.

I appears as if the VirtualHost for secure.real-estate.org is not been read.

Am I doing anything wrong, or is there a bug that I not aware of?

Thanks so much ahead.

Yossi
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to