Apache + MOD_SSL Win32 crash
am 23.05.2002 22:48:56 von Mike CampbellThis is a multi-part message in MIME format.
------=_NextPart_000_0061_01C20260.9590DC90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
I'm running Apache 1.3.24 with MOD_SSL 2.8.8 on a Windows 2000 server.
I've installed and configured according to the "Apache + SSL on Win32 =
Howto"
gotten a certificate from Thawte. I can and always have been able to =
make an (unsecure) http hit on the server. I can also make a secure =
https hit. However, if I reload the secure page a few times, sooner or =
later Apache crashes.
The error message that pops up says "Apache.exe has generated errors and =
will be closed by Windows. You will need to restart the program. An =
error log is being created." The Windows error log says it was an access =
violation and gives a stack dump, which I don't know how to read. The =
Apache error log and the SSL log are free of errors.
When starting Apache, the only complaint I was getting from the config =
file was:
"Cannot add module via name 'mod_ssl.c': not in list of loaded modules"
so I've commented that line out.
Does anyone have any suggestions?
These are the relevant lines in httpd.conf:
### (other AddModules) ###
#AddModule mod_ssl.c
....
### (other LoadModules) ###
LoadModule ssl_module modules/mod_ssl.so
....
Listen 80
Listen 443
....
SSLMutex sem
SSLRandomSeed startup builtin
SSLSessionCache none
SSLLog logs/SSL.log
SSLLogLevel info
DocumentRoot c:/...
ServerName www.mydomain.com
....
### (many other VirtualHosts) ###
SSLEngine On
SSLCertificateFile conf/ssl/pubkey.cert
SSLCertificateKeyFile conf/ssl/prvkey.key
DocumentRoot c:/...
ServerName www.mydomain.com
-------------------------------------------------
Mike Campbell Aktiv Software Corporation
mcampbell@aktiv.com http://www.aktiv.com
(250) 708-0027
------=_NextPart_000_0061_01C20260.9590DC90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
charset=3Diso-8859-1">
I'm running Apache 1.3.24 =
with MOD_SSL=20
2.8.8 on a Windows 2000 server.
to the=20
"Apache + SSL on Win32 Howto" <
href=3D"http://tud.at/programm/apache-ssl-win32-howto.php3"> http://tud.at=
/programm/apache-ssl-win32-howto.php3>=20
and I've gotten a certificate from Thawte. I can and always have been =
able to=20
make an (unsecure) http hit on the server. I can also make a secure =
https hit.=20
However, if I reload the secure page a few times, sooner or later Apache =
crashes.
"Apache.exe has=20
generated errors and will be closed by Windows. You will need to restart =
the=20
program. An error log is being created." The Windows error log says it =
was an=20
access violation and gives a stack dump, which I don't know how to read. =
The=20
Apache error log and the SSL log are free of errors.
complaint I was=20
getting from the config file was:
"Cannot add module via name =
'mod_ssl.c':=20
not in list of loaded modules"
so I've commented that line =
out.
suggestions?
httpd.conf:
### (other AddModules) =
###
#AddModule=20
mod_ssl.c
...
LoadModule ssl_module=20
modules/mod_ssl.so
...
Listen 443
...
SSLRandomSeed startup builtin
SSLSessionCache =
none
SSLLogLevel info
DocumentRoot =
c:/...
ServerName=20
href=3D"http://www.mydomain.com">www.mydomain.com
</VirtualHost=
>
...
SSLEngine=20
On
SSLCertificateFile conf/ssl/pubkey.cert
SSLCertificateKeyFile=20
conf/ssl/prvkey.key
DocumentRoot c:/...
ServerName
href=3D"http://www.mydomain.com">www.mydomain.com
</VirtualHost=
>
Mike=20
Campbell Aktiv =
Software=20
Corporation
href=3D"mailto:mcampbell@aktiv.com">mcampbell@aktiv.com &n=
bsp; =20
(250)=20
708-0027
------=_NextPart_000_0061_01C20260.9590DC90--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org