On Wed, 16 Feb 2000, Randy Lee wrote:
> I've got a problem that I'm not sure is mod_ssl or apache going on here:
> 
> I have a server named x.dom1.com that is hosting several vitual domains.
> 
> If I have 
> 
> <VirtualHost IP:443>
> ServerName x.dom2.com
> ...
> </Virtual host>
> 
> and I have x.dom2.com in the Thawte cert (test fortunately), life is
> cool outside of Netscape not knowing about test certs.
> 
> If I add another virtual host (before this in the list) and hit
> https://x.dom2.com
> 
> <VirtualHost IP:443>
> ServerName x.dom1.com
> ...
> </Virtual host>
> 
> I get a log error in the x.dom1.com error log that sez
> 
> [Fri Feb 11 07:54:41 2000] [error] mod_ssl: SSL handshake failed
> xxx.xxx.xxx, server x.dom1.com:443) (OpenSSL library error follows)
> [Fri Feb 11 07:54:41 2000] [error] OpenSSL: error:14094412:SSL
> routines:SSL3_READ_BYTES:sslv3 alert bad certificate [Hint: Subject CN
> in certificate not server name!?]
> 
> but I get all the pages in x.dom2.com
> 
> I also, then get that the cet was from x.dom1.com when I ask Netscape
> about this cert being presented.
> 
> I'm confused. Someone have an antidote?

Are you configuring the certificates within the <VirtualHost> directives?
If not, give that a shot..

-- 
Nate Carlson <[EMAIL PROTECTED]>    | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to