httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <>
Subject Re: [users@httpd] HTTPS configuration issue with multiple virtual host
Date Thu, 09 Apr 2009 08:12:00 GMT
J. Bakshi wrote:
> Hello Davide,
> I have no problem to use the same certificate because this is a test
> server. I am really eager to know how to achieve this and I am using
> name based vhost here.
> Please enlighten me.

The same way you do with non-SSL VHosts, only, you have to add SSL
specific directives:

NameVirtualHost *:443

<VirtualHost *:443>
	ServerName ...
	DocumentRoot ...
	..other directives as required

<VirtualHost *:443>

Usually, the default SSL configuration is already in one VirtualHost, so
just look how that is done and copy it changing the 'ServerName' bit.


I'm suing a cigarette company because on the package they promised to
kill me, and yet here I am.
-- Kurt Vonnegut

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