Anyone have any ideas for me?

I get the following error message: [error] Couldn't recover size of server
key  www.abc.com:443/KEY_LENGTH

The details:

I am trying to set up two secure virtualhosts on the same machine with
apache and mod_ssl.

Yes, I am using differents IPs for each virtual domain (See I read this
list, FAQ and man...)

This error only occurs when I try to put up two virtual domains, if put one
of the virtual domains up it works great the error occurs only on the second
domain I try to bring up (I rearranged httpd.conf  [more than once] to make
sure).  The strange thing if I put xyz second it receives the error.  If I
comment out one domain or the other it runs just fine indepentantly.

Is it something to do with the way I generate keys?  Do I need to something
different for running these two?
Do I have to combine keys?  In generating keys I have two different keys for
each domain, and two different certificates for each.

I am at a loss any suggests no matter how wild are welcome!  I just can't
have a machine for each secure domain.

Thank you!

PS - The non-secure port 80 works for both domain no problem...


<VirtualHost 208.y.z.10:443>
#  General setup for the virtual host
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/xyz/public_html
ServerName www.xyz.com
ErrorLog /var/log/httpd/error_log-ssl
TransferLog /var/log/httpd/access_log-ssl
SSLEngine on
SSLCertificateFile    /etc/httpd/conf/ssl.crt/www.xyz.com.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/www.xyz.com.key
</VirtualHost>


<VirtualHost 208.y.z.20:443>
#  General setup for the virtual host
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/abc/public_html
ServerName www.abc.com
ErrorLog /var/log/httpd/error_log-ssl
TransferLog /var/log/httpd/access_log-ssl
SSLEngine on
SSLCertificateFile    /etc/httpd/conf/ssl.crt/www.abc.com.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/www.abc.com.key
</VirtualHost>





______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to