Hello,
I have previously worked with ModSSL and Apache have had no problems.
However, this RedHat 6.2 system is giving me an error which I have never
seen. It's not in the FAQ anywhere so I'm hoping someone will be able to
shed some light.
Upon startup:
[17/Oct/2000 15:13:56 06296] [info] Server: Apache/1.3.12, Interface:
mod_ssl/2.6.2, Library: BSAFE-SSL-C/1.0.0i
[17/Oct/2000 15:13:56 06296] [info] Init: 1st startup round (still not
detached)
[17/Oct/2000 15:13:56 06296] [info] Init: Initializing BSAFE-SSL-C library
[17/Oct/2000 15:13:56 06296] [info] Init: Loading certificate & private key
for SSL-aware server test.the-dma.org:443
[17/Oct/2000 15:13:56 06296] [info] Init (test.the-dma.org:443): saved
certificate
[17/Oct/2000 15:13:56 06296] [info] Init: Loading certificate & private key
for SSL-aware server tmpsecure.annis.com:443
[17/Oct/2000 15:13:56 06296] [info] Init (tmpsecure.annis.com:443): saved
certificate
[17/Oct/2000 15:13:56 06296] [info] Saved key tmpsecure.annis.com:443/KEY
[17/Oct/2000 15:13:56 06296] [info] Key starts 30 82 02 5d 02 01 00 02 81
81 00 c2 ad 05 18 f5
[17/Oct/2000 15:13:56 06296] [info] Saved key size
tmpsecure.annis.com:443/KEY_LENGTH
[17/Oct/2000 15:13:56 06297] [info] Init: 2nd startup round (already
detached)
[17/Oct/2000 15:13:56 06297] [info] Init: Reinitializing BSAFE-SSL-C
library
[17/Oct/2000 15:13:56 06297] [info] Init: Seeding PRNG with 136 bytes of
entropy
[17/Oct/2000 15:13:56 06297] [info] Init: Initializing (virtual) servers
for SSL
[17/Oct/2000 15:13:56 06297] [info] Init: Configuring server
test.the-dma.org:443 for SSL protocol
[17/Oct/2000 15:13:56 06297] [trace] Init: (test.the-dma.org:443) Creating
new SSL context (protocols: SSLv2, SSLv3, TLSv1)
[17/Oct/2000 15:13:56 06297] [trace] Init: (test.the-dma.org:443)
Configuring server certificate
[17/Oct/2000 15:13:56 06297] [trace] Init: (test.the-dma.org:443)
Configuring server private key
[17/Oct/2000 15:13:56 06297] [error] Couldn't recover size of server key
test.the-dma.org:443/KEY_LENGTH
The Virtual Host section has these two VHostes entries:
<VirtualHost 209.69.52.98:80>
ServerName test.the-dma.org
ServerAdmin [EMAIL PROTECTED]
ServerName test.the-dma.org
DocumentRoot /net/netsitedocs/testthe-dma
DirectoryIndex index.html index.cgi index.shtml
ScriptAlias /cgi /net/netsitedocs/testthe-dma/cgi
ScriptAlias /admin/cgi /net/netsitedocs/testthe-dma/admin/cgi
ScriptAlias /newsadmin/cgi
/net/netsitedocs/testthe-dma/newsadmin/cgi
ScriptAlias /bookstore/cgi
/net/netsitedocs/testthe-dma/bookstore/cgi
ScriptAlias /bookadmin/cgi
/net/netsitedocs/testthe-dma/bookadmin/cgi
AddHandler cgi-script cgi
AddHandler server-parsed shtml
Options +Includes
ErrorLog logs/test.thedma.org-error_log
</VirtualHost>
<VirtualHost 209.69.52.98:443>
ServerAdmin [EMAIL PROTECTED]
ServerName test.the-dma.org
DocumentRoot /net/netsitedocs/secure/testthe-dma
LogLevel Debug
ScriptAlias /cgi /net/netsitedocs/testthe-dma/cgi
ScriptAlias /admin/cgi /net/netsitedocs/testthe-dma/admin/cgi
ScriptAlias /bookstore/cgi
/net/netsitedocs/testthe-dma/bookstore/cgi
ErrorLog /var/log/httpd/test.the-dma.org-error_log-ssl
RefererLog logs/test.the-dma.org-referer_log
SSLCertificateFile /etc/httpd/conf/ssl.crt/test.the-dma.org.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/test.the-dma.org.key
SSLEngine on
SSLProtocol all
</VirtualHost>
I did contact somone who had the same issue on the news groups and this was
the reply:
-------------
I believe, and I could be wrong, that this was fixed in the
most recent version of mod_ssl. It seems to only come up
when using multiple virtual hosts under SSL.
--------------
But I installed Apache right from the CD from RedHat 6.2, and I don't see
any updates for it.
Can somone direct me in the right direction, my next step is to pay though
the nose for tech support from RedHat....Yuck!!
---
Brett Hansen
The Annis Group
Web Programmer & Network Support
[EMAIL PROTECTED]
(248) 395-0001 X227
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]