[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [suse-security] [Apache - SuSE 8.2 Pro] 2 different WWW virtual hosts, 2 different certs



On Mon, 07 Jul 2003 17:54:13 +0200
Dominik Sk?adanowski <dominik.skladanowski@xxxxxxxxxxxx> wrote:

> >>I tried to startup 2 SSL virtual hosts (every virtual host has it's own
> >>cert) on the same machne with 1 IP. Apparently it looks fine...
> > 
> > AFAIK this configuration is not possible, because vhost (http/1.1 ...)
> > negotiation is AFTER SSL handshake, and there is no way around this.
> > You need two ip addresses to configure this properly.
> 
> OK. I have 2 IPs (eth0 eth0:1). Both works.
> 
> When I connect to https://eth0.ip.address/ I get cert dedicated for 
> name.domain-eth0.com.
> 
> When I connect to https://eth0:1.ip.address/ I get cert dedicated for 
> name.domain-eth0:1.com.
> 
> Looks good.
> 
> But when I connect to https://name.domain-eth0:1.com/ i get pages which 
> should be for https://name.domain-eth0.com/ not for 
> https://name.domain-eth0:1.com/. Cert is for 
> https://name.domain-eth0.com/ too.
> 
> DNS records are OK.

AFAIK virtual hosting isnt possible with SSL.

Regards,

Ulf
-- 
Ulf Hofemeier                           Mail:  ulf.hofemeier@xxxxxxx
SuSE Linux AG                           Phone: 02241 - 929 17 - 25
Geschäftsstelle Rhein-Ruhr              Fax:   02241 - 31 45 99
Marie-Curie-Str. 11-17
53757 St. Augustin

--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here