On Fri, Apr 16, 1999, Ken Filipps wrote:
> I have an Apache 1.3.6 webserver with mod_ssl 2.2.8 and have been using this
> Apache/mod_ssl combination for some time now. Recently I have set it up with
> the NameVirtualHost option to allow different personalities for its different
> HostNames. What I am trying to do is allow each VirtualHost to have its own SSL
> key for its respective HostName.
>
> I have duplicated the appropriate VirtualHost section and all works well except
> the serving of the separate keys. Although each VirtualHost section is told to
> serve a different server.key and server.crt file it seems to serve the same key
> out of both VirtualHosts. It serves the key/crt from the first instance of the
> SSL VirtualHost (or possibly the key/csr based on the actual hostname, not the
> appropriate CNAME).
>
> I think it might be related to the caching the webserver does with the authority
> information but these sections aren't allowed in the VirtualHost area.
>
> Is it possible to accomplish this without setting up the different servers on
> different ports (ie. different config files)? I like the NameVirtualHost option
> and what it buys me in the form of administration simplicity. It doesn't look
> good when the browser complains about the hostname mismatch.
FAQ: http://www.engelschall.com/sw/mod_ssl/docs/2.2/ssl_faq.html#ToC30
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]