Addressed to: [EMAIL PROTECTED]
Zohar Friling <[EMAIL PROTECTED]>
** Reply to note from Zohar Friling <[EMAIL PROTECTED]> Mon, 15 May 2000 18:22:32
+0300 (GMT+0300)
>
> Hi,
>
> I have several domains name and for each I have a separate key from
> VeriSign. How could I use them In the same httpd.conf If I want to
> hosts them on the same sever, using virtual server. which directive I
> should place beneath each virtual host section. Where can I look for
> example conf file? Please advise, Thanks. Zohar.
>
First thing you must remember about multiple secure virtual hosts, they
must have separate IP addresses. The document request that includes the
host name being requested is sent encrypted, so you can't read the host
name from the request without decrypting the request. If you don't use
separate IP addresses there is no way to identify which key to use to
decrypt the request.
Here is the minimum configuration I've found to enable a SSL virtual
host. There are many other options available, you should read thru the
mod_ssl documentation to make sure there are no other options you want
to use.
# You are supposed to list them by IP address so the server
# can start if DNS is now yet running.
<VirtualHost 123.145.167.213:443>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /web/hosts/www.conpaulos.com/secure
ServerName www.conpaulos.com
# enable SSL for this virtual host
SSLEnable
SSLCertificateFile /web/hosts/www.conpaulos.com/crypto/www.conpaulos.com.crt
SSLCertificateKeyFile /web/hosts/www.conpaulos.com/crypto/www.conpaulos.com.key
SSLVerifyClient none
</VirtualHost>
Rick Widmer
www.developersdesk.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]