Try adding the following directive to your <VirtualHosts></VirtualHosts> 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:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 10:34 AM
To: '[EMAIL PROTECTED]'
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                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to