SSL breaks when httpd is restarted

Ord

Verified User
Joined
Dec 2, 2005
Messages
17
Since upgrading open SSL to 0.9.8g and making the latest custombuild SSL connections stop working any time directadmin restarts the apache server.

A manual restart using
/etc/init.d/httpd restart
fixes the problem and all the SSL sites start working again.

After a restart or reload via directadmin, the errors that appear in the log are:
[20/Feb/2008 10:39:13 21688] [error] SSL handshake failed (server www.madexperts.com:443, client 74.59.28.3) (OpenSSL library error follows)
[20/Feb/2008 10:39:13 21688] [error] OpenSSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol [Hint: speaking not SSL to HTTPS port!?]

The messages that appear in the log are exactly the same whether it was restarted by directadmin or by command line:
[Wed Feb 20 10:39:44 2008] [notice] caught SIGTERM, shutting down
[Wed Feb 20 10:39:44 2008] [notice] mod_security/1.9.3 configured
[Wed Feb 20 10:39:44 2008] [warn] module php4_module is already loaded, skipping
[Wed Feb 20 10:39:44 2008] [warn] module perl_module is already loaded, skipping
[Wed Feb 20 10:39:44 2008] [notice] Apache/1.3.41 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.8g PHP/4.4.8 mod_perl/1.29 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Wed Feb 20 10:39:44 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Feb 20 10:39:44 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)
 
If nothing else, can someone explain to me the exact mechanism that directadmin uses to restart or reload the apache server?

Any time a user makes any change to their web setup and directadmin reloads it, all the SSL sites hosted on that machine stop working and I need to log in via ssh to restart apache manually.

Thanks,
Ord
 
Back
Top