[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Quick fix for SSL errors in adm_errors logfile



RaQs with an SSL certificate on the "home" site generate "[error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port;" errors every 15 minutes in /var/log/httpd/adm_error when Active Monitor attempts to check the ahttpd process.

There is a quick fix: edit /etc/cobalt/swatch/services/ahttpd and change the line that reads:

port = 81

to read:

#port = 81

and add in a new line below it which reads:

port = 444

(I also changed the line 'name=ahttp' to 'name=ahttps' but it doesn't really do anything; more of a second reminder than anything else)

Now when Active Monitor runs, it will attempt to contact the administrative server on the SSL port, and won't generate the errors any more.

Obviously, if you remove the SSL certificate on the home site, you should put back the original line.

Note: a one-line error message is still generated: "[Client 127.0.0.1] Directory index forbidden by rule: /usr/admserv/html/" I'm still trying to work out how to stop that one... :)


--
Bruce Timberlake
Cobalt/Linux Technology Engineer
Communications Market Area
Sun Microsystems, Inc. - San Diego

e: bruce.timberlake@xxxxxxx
t: 877-718-3569 / x69369