Two certificates in apache and mod_ssl

Two certificates in apache and mod_ssl

am 21.06.2002 16:34:28 von Kirchner Stefan

Hello,

I defined two virtual hosts in apache + mod_ssl with two different server
certificates.
I tried to access the https connection and I got for both virtual hosts the
certificate of the first virtual host.

How do I have to configure it to get the right certificate of each virtual
host.

Or is it not possible? Or how?

Stefan
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

RE: Two certificates in apache and mod_ssl

am 21.06.2002 18:04:22 von bvaughan

Try adding the following directive to your definition:

SSLCertificateFile /path/to/file
SSLCertificateKeyFile /path/to/file

Also make sure that the above directives are not configured for the main server. That's it.

Brian Vaughan



-----Original Message-----
From: Kirchner Stefan [mailto:Stefan.Kirchner@wuerth-it.com]
Sent: Friday, June 21, 2002 10:34 AM
To: 'modssl-users@modssl.org'
Subject: Two certificates in apache and mod_ssl


Hello,

I defined two virtual hosts in apache + mod_ssl with two different server
certificates.
I tried to access the https connection and I got for both virtual hosts the
certificate of the first virtual host.

How do I have to configure it to get the right certificate of each virtual
host.

Or is it not possible? Or how?

Stefan
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: Two certificates in apache and mod_ssl

am 21.06.2002 18:13:57 von Sean M Alderman

Are you using IP Based virtual hosting? I don't think you can have
multiple certificates on a since IP on the same port.

On Fri, 2002-06-21 at 10:34, Kirchner Stefan wrote:
> Hello,
>
> I defined two virtual hosts in apache + mod_ssl with two different server
> certificates.
> I tried to access the https connection and I got for both virtual hosts the
> certificate of the first virtual host.
>
> How do I have to configure it to get the right certificate of each virtual
> host.
>
> Or is it not possible? Or how?
>
> Stefan
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
--
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system "Windows" is like naming an
automobile "Wheels."
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org