Brandon DeYoung wrote:
>
> I have a similar problem...hopefully someone has as good an answer.
>
> I've got a bunch of virtual hosts running on port 80 just fine. I also have
> a single HTTPS running on 443. I'd like to have multiple SSL hosts. So far
> all my attempts have ended either with all traffic going to the first
> virtual host defined in httpd.conf or an unstartable httpd.
> Is this even possible?
No. Not at all. You *cannot* have SSL name-based virtual hosts. This is
basically because SSL negotiation has to be complete before any HTTP
traffic can be received - to negotiate SSL you need the certificate,
which is defined in the VH, which is selected using the ServerName,
which can only be found from HTTP, which can't take place until SSL is
established.
I know you don't care about a certificate, but SSL does - it will not be
able to start the SSL negotiation without a certificate to send to the
client (the certificate contains the server's public key which is
required to encrypt the session key).
The only ways to have multiple SSL hosts are to use different ports or
to use different IP addresses.
Rgds,
Owen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]