[CentOS] SSL and virtual hosts?

Sun Sep 20 10:27:22 UTC 2009
Christoph Maser <cmr at financial.com>

Am Sonntag, den 20.09.2009, 11:36 +0200 schrieb Niki Kovacs:
> Hi,
>
> I successfully managed to use SSL on a local webserver for testing
> purposes, following the section "Using SSL" in the Chapter "Using
> Apache" of the "Definitive Guide to CentOS". Now I wonder: how can I use
> SSL with virtual hosts?

You can't. At least not with name based virtual hosts and classic SSL.
See http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts.




financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553