> But there is effectively a bug. Any certificate I use with a
> protected private key (apache ask for the pass phrase at startup),
> hangs the server. It starts without errors, just as if everything
> was going well, but does not answer any request on any virtual
> host nor on the main one, no matter they are SSL setup or not. 
> 
> I removed the pass-phrase on the key file, and everything works
> perfectly. 

I noticed exactly the same problem, although to be fair I haven't yet 
replaced opensa_0_20bin_03012000.exe with the latest version.

If you look in the log files it appears that when Apache starts it 
prompts for the password, then it erases the password, then it 
prompts for the password again, except that second time around 
nothing appears on the console. It seems to do the first round 
startup twice.

Here is the relevant bit of engine.log:

[16/Mar/2000 10:33:09 00189] [info]  Server: OpenSA/0.20dev Apache/1.3.12, Interface: 
mod_ssl/2.6.0, Library: OpenSSL/0.9.4
[16/Mar/2000 10:33:09 00189] [warn]  You are using mod_ssl under Win32. This 
combination is *NOT* officially supported. Use it at your own risk!
[16/Mar/2000 10:33:09 00189] [info]  Init: 1st startup round (still not detached)
[16/Mar/2000 10:33:09 00189] [info]  Init: Initializing OpenSSL library
[16/Mar/2000 10:33:09 00189] [info]  Init: Loading certificate & private key of 
SSL-aware server phoenix.rcp.co.uk:443
[16/Mar/2000 10:33:09 00189] [info]  Init: Requesting pass phrase via builtin terminal 
dialog
[16/Mar/2000 10:33:13 00189] [info]  Init: Wiped out the queried pass phrases from 
memory
[16/Mar/2000 10:33:13 00189] [info]  Init: Seeding PRNG with 8 bytes of entropy
[16/Mar/2000 10:33:13 00189] [info]  Init: Generating temporary RSA private keys 
(512/1024 bits)
[16/Mar/2000 10:33:14 00189] [info]  Init: Configuring temporary DH parameters 
(512/1024 bits)
[16/Mar/2000 10:33:14 00189] [info]  Init: Seeding PRNG with 8 bytes of entropy
[16/Mar/2000 10:33:14 00189] [info]  Init: Configuring temporary RSA private keys 
(512/1024 bits)
[16/Mar/2000 10:33:14 00189] [info]  Init: Configuring temporary DH parameters 
(512/1024 bits)
[16/Mar/2000 10:33:14 00189] [info]  Init: Initializing (virtual) servers for SSL
[16/Mar/2000 10:33:14 00189] [info]  Init: Configuring server phoenix.rcp.co.uk:443 
for SSL protocol
[16/Mar/2000 10:33:14 00189] [info]  Init: 2nd startup round (already detached)
[16/Mar/2000 10:33:14 00189] [info]  Init: Reinitializing OpenSSL library
[16/Mar/2000 10:33:14 00189] [info]  Init: Seeding PRNG with 8 bytes of entropy
[16/Mar/2000 10:33:14 00189] [info]  Init: Configuring temporary RSA private keys 
(512/1024 bits)
[16/Mar/2000 10:33:14 00189] [info]  Init: Configuring temporary DH parameters 
(512/1024 bits)
[16/Mar/2000 10:33:14 00189] [info]  Init: Initializing (virtual) servers for SSL
[16/Mar/2000 10:33:14 00189] [info]  Init: Configuring server phoenix.rcp.co.uk:443 
for SSL protocol
[16/Mar/2000 10:33:14 00387] [info]  Server: OpenSA/0.20dev Apache/1.3.12, Interface: 
mod_ssl/2.6.0, Library: OpenSSL/0.9.4
[16/Mar/2000 10:33:14 00387] [warn]  You are using mod_ssl under Win32. This 
combination is *NOT* officially supported. Use it at your own risk!
[16/Mar/2000 10:33:14 00387] [info]  Init: 1st startup round (still not detached)
[16/Mar/2000 10:33:14 00387] [info]  Init: Initializing OpenSSL library
[16/Mar/2000 10:33:14 00387] [info]  Init: Loading certificate & private key of 
SSL-aware server phoenix.rcp.co.uk:443
[16/Mar/2000 10:33:14 00387] [info]  Init: Requesting pass phrase via builtin terminal 
dialog

after which point we get nothing more...


-- 
Duncan Booth                                             [EMAIL PROTECTED]
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
http://dales.rmplc.co.uk/Duncan

Reply via email to