httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] More certificates for 1 server
Date Wed, 13 Aug 2003 08:14:51 GMT
>-----Original Message-----
>From: Louis Wevers []
>... It would be nice if a feature like this [name-based VHs on SSL]
would be implemented 
>in the future.

It would be very nice, but unfortunately the restriction is not due to
some trivial oversight in apache. Rather, it is fundamental to the HTTP
protocol and affects all webservers.

Briefly, the problem is that in order to do name-based VH, the server
must use the "Host" header in the HTTP request to assign the VH.
However, in an SSL request, the entire HTTP packet is encrypted -
including the "Host" header. Thus the server has no way to know which VH
it is intended for. So the server can't decide which certificate to use
(the certificate is defined inside the VH!). 

There are extensive discussions on this subject on the mod_ssl site and
on the archives for this list - just type "name-based SSL" into the
searcher or into Google.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> wrote:
>>Hash: SHA1
>>On Tuesday 12 August 2003 11:46, SAQIB wrote:
>>>>  For https, you cannot use NamedVirtualHosts for multiple 
>hosts.  The
>>>>hosts must be on different IPs or different ports on the same IP.
>>>However if you enable SSL on a different port lets say port 
>5568, you can
>>>not reference it using
>>>https implies it is port 443
>>  As http implies it is port 80.  The default is unimportant 
>as long as
>>  you have setup the virtual host with ssl enabled on that port.  Same
>>  principle as setting up http access on a different port.
>>  HTH
>>Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
>>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:
>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:
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

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