httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] how to get multiple SSL with name based vhost ?
Date Wed, 02 Dec 2009 09:36:25 GMT
On Wed, Dec 2, 2009 at 3:11 AM, J. Bakshi <> wrote:
> Hello Krist,
> Thanks for your example. I have tried to implement it but as I mentioned
> before whatever be the server name it always opens the site which apache
> has detected as default.  Here is the output from  " apache2ctl -S"
> ` ` `
> wildcard NameVirtualHosts and _default_ servers:
> *:443                  is a NameVirtualHost
>         default server (/etc/apache2/vhosts.d/ssl.conf:5)
>         port 443 namevhost (/etc/apache2/vhosts.d/ssl.conf:5)
>         port 443 namevhost (/etc/apache2/vhosts.d/ssl.conf:51)
> Syntax OK
> ` ` `
> The configuration is exactly same which you have suggested above. Any
> thing which I am overlooking here ?
> Thanks

'Anything you are overlooking' - maybe the 10 posts before this saying
"You cannot do this"? Heres #11:

You cannot have vhosts like this without either having SNI or having
all of the vhosts on one NameVirtualHost share the same certificate,
either using a wildcard certificate or using SubjectAltName as
described by Peter Schober.

If you do not have either of those two things, then apache will serve
the default vhost as you describe. This is the expected behaviour.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message