Re: how to get multiple SSL with name based vhost ?

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

 



On Wed, Dec 2, 2009 at 3:11 AM, J. Bakshi <joydeep@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux