can some one send me the proper syntax for setting up name-based virtual
host with ssl?
I have tried several things and only nonvitrual host seem to work.

thanks
Robert
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael Grant
Sent: Wednesday, July 18, 2001 3:52 AM
To: [EMAIL PROTECTED]
Subject: Re: mod_ssl and name-based virtual hosts


Jeff wrote:
> What is the host name (common name) in the certificates ???
> I suspect you have used *.mydomain.dom - correct ???

Hmm, I'm also using name based virtual hosting with ssl as well, but
my cert isn't *.domain.dom, it's just cn=domain.dom.  The virtual
hosts are of the form sub1.domain.dom and sub2.domain.dom.

When I first accessed the domain, my browser asked me to accept the
cert, it never said anything about the domain names not matching.

I do, however, get the following errors in my apache_ssl_engine_log:
Init: (sub1.domain.dom:443) RSA server certificate CommonName (CN)
`domain.dom' does NOT match server name!?

but otherwise, it doesn't seem to cause any problems except that I
have this annoying floating point error...

For those who asked previously, I'm running

% httpd -version
Server version: Apache/1.3.20 (Unix)
Server built:   May 24 2001 17:21:45

% gcc --version
2.95.3

% uname -v
FreeBSD 4.3-STABLE #0: Sat Apr 28 11:05:39 EDT 2001

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

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

Reply via email to