Hi, I'm having problems starting up Apache (1.3.12) on an NT (4.0 SP6a) machine with Mod SSL 2.6.4 and OpenSSL 0.9.5a. After running through the first and second start up rounds, Apache appears to get caught in an initialisation loop, continually going back to the 1st startup round. I initially used the builtin pass phrase dialog, and, having gotten sick of typing it, I put it in a batch file to see if I could get any further. Now, I can't figure out what's happening when the pass phrase is requested again (the first seems to be accepted). I don't know what it's trying to unlock. I've attached the second attempt to unlock the private key. As a side issue, I'm getting a loop in the error log (also attached) I don't know if they are related or not, all I know is as soon as I set SSLEngine to on my server does not start. The corresponding SSLLog file output seems to stick with the following trace: [First try] [25/May/2000 17:47:02 00297] [info] Server: Apache/1.3.12, Interface: mod_ssl/2.6.4, Library: OpenSSL/0.9.5a [25/May/2000 17:47:02 00297] [warn] You are using mod_ssl under Win32. This combination is *NOT* officially supported. Use it at your own risk! [25/May/2000 17:47:02 00297] [info] Init: 1st startup round (still not detached) [25/May/2000 17:47:02 00297] [info] Init: Initializing OpenSSL library [25/May/2000 17:47:02 00297] [info] Init: Loading certificate & private key of SSL-aware server avpc98.etxb.ericsson.se:443 [25/May/2000 17:47:02 00297] [info] Init: Requesting pass phrase from dialog filter program (c:/apache/passphrase.bat) [25/May/2000 17:47:02 00297] [trace] Init: (avpc98.etxb.ericsson.se:443) encrypted RSA private key - pass phrase requested [25/May/2000 17:47:02 00297] [info] Init: Wiped out the queried pass phrases from memory [25/May/2000 17:47:02 00297] [info] Init: Seeding PRNG with 136 bytes of entropy [25/May/2000 17:47:02 00297] [info] Init: Generating temporary RSA private keys (512/1024 bits) [25/May/2000 17:47:03 00297] [info] Init: Configuring temporary DH parameters (512/1024 bits) [25/May/2000 17:47:03 00297] [trace] Inter-Process Session Cache (DBM) Expiry: old: 0, new: 0, removed: 0 [25/May/2000 17:47:03 00297] [info] Init: Seeding PRNG with 136 bytes of entropy [25/May/2000 17:47:03 00297] [info] Init: Configuring temporary RSA private keys (512/1024 bits) [25/May/2000 17:47:03 00297] [info] Init: Configuring temporary DH parameters (512/1024 bits) [25/May/2000 17:47:03 00297] [info] Init: Initializing (virtual) servers for SSL [25/May/2000 17:47:03 00297] [info] Init: Configuring server avpc98.etxb.ericsson.se:443 for SSL protocol [25/May/2000 17:47:03 00297] [trace] Init: (avpc98.etxb.ericsson.se:443) Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1) [25/May/2000 17:47:03 00297] [trace] Init: (avpc98.etxb.ericsson.se:443) Configuring RSA server certificate [25/May/2000 17:47:03 00297] [trace] Init: (avpc98.etxb.ericsson.se:443) Configuring RSA server private key [25/May/2000 17:47:06 00297] [info] Init: 2nd startup round (already detached) [25/May/2000 17:47:06 00297] [info] Init: Reinitializing OpenSSL library [25/May/2000 17:47:06 00297] [trace] Inter-Process Session Cache (DBM) Expiry: old: 0, new: 0, removed: 0 [25/May/2000 17:47:06 00297] [info] Init: Seeding PRNG with 136 bytes of entropy [25/May/2000 17:47:06 00297] [info] Init: Configuring temporary RSA private keys (512/1024 bits) [25/May/2000 17:47:06 00297] [info] Init: Configuring temporary DH parameters (512/1024 bits) [25/May/2000 17:47:06 00297] [info] Init: Initializing (virtual) servers for SSL [25/May/2000 17:47:06 00297] [info] Init: Configuring server avpc98.etxb.ericsson.se:443 for SSL protocol [25/May/2000 17:47:06 00297] [trace] Init: (avpc98.etxb.ericsson.se:443) Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1) [25/May/2000 17:47:06 00297] [trace] Init: (avpc98.etxb.ericsson.se:443) Configuring RSA server certificate [25/May/2000 17:47:06 00297] [trace] Init: (avpc98.etxb.ericsson.se:443) Configuring RSA server private key [subsequent tries] [25/May/2000 17:34:11 00311] [info] Server: Apache/1.3.12, Interface: mod_ssl/2.6.4, Library: OpenSSL/0.9.5a [25/May/2000 17:34:11 00311] [warn] You are using mod_ssl under Win32. This combination is *NOT* officially supported. Use it at your own risk! [25/May/2000 17:34:11 00311] [info] Init: 1st startup round (still not detached) [25/May/2000 17:34:11 00311] [info] Init: Initializing OpenSSL library [25/May/2000 17:34:11 00311] [info] Init: Loading certificate & private key of SSL-aware server avpc98.etxb.ericsson.se:443 [25/May/2000 17:34:11 00311] [info] Init: Requesting pass phrase from dialog filter program (c:/apache/passphrase.bat) [25/May/2000 17:34:11 00311] [error] Init: Pass phrase incorrect (OpenSSL library error follows) [25/May/2000 17:34:11 00311] [error] OpenSSL: error:0D084069:asn1 encoding routines:d2i_ASN1_SET:bad tag [25/May/2000 17:34:11 00311] [error] OpenSSL: error:0D09D082:asn1 encoding routines:d2i_RSAPrivateKey:parsing [25/May/2000 17:34:11 00311] [error] OpenSSL: error:0D09B00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib [25/May/2000 17:34:11 00313] [info] Init: 1st restart round (already detached) [25/May/2000 17:34:11 00313] [info] Init: Reinitializing OpenSSL library [25/May/2000 17:34:11 00313] [trace] Inter-Process Session Cache (DBM) Expiry: old: 0, new: 0, removed: 0 [25/May/2000 17:34:11 00313] [info] Init: Seeding PRNG with 136 bytes of entropy [25/May/2000 17:34:11 00313] [info] Init: Configuring temporary RSA private keys (512/1024 bits) [25/May/2000 17:34:11 00313] [info] Init: Configuring temporary DH parameters (512/1024 bits) [25/May/2000 17:34:11 00313] [info] Init: Initializing (virtual) servers for SSL [25/May/2000 17:34:11 00313] [info] Init: Configuring server avpc98.etxb.ericsson.se:443 for SSL protocol [25/May/2000 17:34:11 00313] [trace] Init: (avpc98.etxb.ericsson.se:443) Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1) [25/May/2000 17:34:11 00313] [trace] Init: (avpc98.etxb.ericsson.se:443) Configuring RSA server certificate [25/May/2000 17:34:11 00313] [trace] Init: (avpc98.etxb.ericsson.se:443) Configuring RSA server private key The Apache ErrorLog output file://error.log [Thu May 25 17:47:06 2000] [info] Parent: Created child process 255 [Thu May 25 17:47:06 2000] [info] Parent: Duplicating socket 236 and sending it to child process 255 [Thu May 25 17:47:06 2000] [info] master_main: Child processed exited (due to MaxRequestsPerChild?). Restarting the child process. ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
