httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Coby" <jc...@listingbook.com>
Subject Re: [users@httpd] how to add multiple SSL cert for each virtual host?
Date Tue, 03 Dec 2002 21:18:16 GMT
SSL domains _MUST_ be on seperate IP addresses.  This is a limitation of the
SSL protocol, and is described in the FAQ.

----- Original Message -----
From: "Thomas Sandor" <tsandor@rndsoft.com>
To: <users@httpd.apache.org>
Sent: Tuesday, December 03, 2002 1:14 PM
Subject: [users@httpd] how to add multiple SSL cert for each virtual host?


> hi everyone,
>
> I have an apache 2.0.40 installed on a RedHat 7.2 box, complied with ssl
> (openssl 0.9.6g).
> Till now I had only one domain for which apache should use SSL cert files
> (crt, key), but for our next project I have to add another SSL cert file a
> specific domain.
>
> I have NameVirtualHost 12.34.56.78 and have a list of <virtualhost/> for
> each of our domain, using ServerNamed base aliases, but for the ssl conf
it
> ain't works. In my ssl.conf in short looks like this:
>
> NameVirtualHost 12.34.56.78:443
>
> <VirtualHost 12.34.56.78:443>
>     ServerName domain1.com
>     CustomLog "..."
>     ErrorLog "..."
>     SSLEngine on
>     SSLCertificateFile "/somewhere/ssl.crt/domain1.crt"
>     SSLCertificateKeyFile "somewhere/ssl.key/domain1.key"
> </VirtualHost>
>
> <VirtualHost 12.34.56.78:443>
>     ServerName domain2.com
>     CustomLog "..."
>     ErrorLog "..."
>     SSLEngine on
>     SSLCertificateFile "/somewhere/ssl.crt/domain2.crt"
>     SSLCertificateKeyFile "somewhere/ssl.key/domain2.key"
> </VirtualHost>
>
> The problem is that apache does not serve domain2 cert files for domain2,
it
> uses the first declaration for every https://domainX.com invoke. Does
anyone
> know how to tell apache to uses specific SSL cert I'd like to define for
> each of my virtualhosts?
>
> Thanks in advance for any help.
>
> Regards,
> Thomas
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message