httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
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 <joydeep@infoservices.in> 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 example1.de (/etc/apache2/vhosts.d/ssl.conf:5)
>         port 443 namevhost example1.de (/etc/apache2/vhosts.d/ssl.conf:5)
>         port 443 namevhost example2.de (/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.

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message