multiple ssl-certificates for virtual hosts - Apache

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Heavy
Forum Contributor
Posts: 478
Joined: Sun Sep 22, 2002 7:36 am
Location: Viksjöfors, Hälsingland, Sweden
Contact:

multiple ssl-certificates for virtual hosts - Apache

Post by Heavy »

I would like to know whether someone has tried to use several different SSL-certificates on the same apache server so that each virtual host can have a certificate of their own?

I know namebased virtual hosts is not supported by apache-ssl or mod_ssl in interoperation with openssl. That is not what I am asking for.

I know I have to reserve unique IP address for each vhost.

It would be nice if one could have a setup kind of like:

Code: Select all

*****Virtual host setup*****      ******Certificate setup ******
HOSTNAME         IP               CERT
host1.domain.com 192.168.0.156    "certificate for host1.domain.com at 192.168.0.156"
host2.domain.com 192.168.0.157    "certificate for host2.domain.com at 192.168.0.157"
host3.domain.com 192.168.0.158    "certificate for host3.domain.com at 192.168.0.158"
Anyone tried it?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

may be this will be of help
User avatar
Heavy
Forum Contributor
Posts: 478
Joined: Sun Sep 22, 2002 7:36 am
Location: Viksjöfors, Hälsingland, Sweden
Contact:

Post by Heavy »

Sure looks promising!
Thanks.
Post Reply