Hello.
I have recently recompiled apache (1.3.12) with mod_ssl (2.6.1
w/openssl 0.9.5) on a Linux (2.2.5-15) machine. I can get
the server to listen and respond to plain HTTP on any port.
I am also able to get it to listen for and respond to SSL
connections on any port. The problem is that, as soon as
I attempt to get it to listen to:
HTTP on port X
and
SSL connections on port Y
The process just seems to freeze. The log files are normal
up to
"Apache/1.3.12 (Unix) configured -- resuming normal operations"
and the everything stops.
Connections to either port are established but hang and finally
timeout. I don't know if there is something wrong with my
configuration but, as mentioned, it does function for either of
the protocols alone. I'd appreciate any ideas you might have
concerning the origin(s) of my problem.
I have included specifics of my configuration below.
Thanks,
Pat D.
=============================================================
httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_headers.c
mod_setenvif.c
mod_ssl.c
mod_perl.c
mod_fastcgi.c
mod_macro.c
===== Relevant portions of httpd.conf =====
# I am in a testing phase, so i've moved port 80 -> 8080
# and port 443-> 8443
#
# Plain http on port 8080
Listen 8080
# Include file when httpd called with -DSSL
<IfDefine SSL>
Include /usr/local/apache/conf/ssl.conf
</IfDefine>
NameVirtualHost 192.168.10.1
<VirtualHost 192.168.10.1:8080>
ServerAdmin [EMAIL PROTECTED]
# etc etc - usual virtualHost stuff
</VirtualHost>
<VirtualHost 192.168.10.1:8443>
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
<IfDefine SSL>
SSLEngine on
SSLCertificateFile /usr/local/apache/conf/ssl.crt/mycert.crt
</IfDefine>
ServerAdmin [EMAIL PROTECTED]
# etc etc - usual virtualHost stuff
</VirtualHost>
===== Contents of ssl.conf =====
Listen 8443
SSLPassPhraseDialog builtin
SSLSessionCache dbm:/usr/local/apache/logs/ssl_scache
SSLSessionCacheTimeout 300
SSLMutex file:/usr/local/apache/logs/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLCertificateKeyFile /usr/local/apache/conf/ssl.crt/server.key
============
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]