SSL service keeps going down on its own (HELP)

livewebcs

Member
PartnerNOC
Jun 11, 2004
11
0
151
Ok, I have three seperate servers with a great managed company and they can't even figure this out.

In the past month SSL has stopped working on each of my three servers a combined two dozen times. Everything can be fine and SSL doesn't work for hours until I manually reset it:

service httpd sslstart

My provider says cpanel has no way to recognize if only SSL is down. But this is happening to 3 different servers so something must be wrong.

Anyone ever heard of this and is there any way for Apache or Cpanel to make sure SSL stays up?

thanks!
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,977
152
368
SLC
cPanel Access Level
DataCenter Provider
I would look for the obvious (it has happened on my servers on occasion) it was duplicate SSL entries in httpd.conf for the same domain

not much of an provider
its easy to add https to chkservd

nano -w /usr/local/cpanel/src/chkservd/chkserv.d/https

and add the following to it ALL ONE LINE

service[https]=443,GET / HTTP/2.0;killall -TERM httpd;sleep 2;killall -9 httpd;/etc/rc.d/init.d/httpd stop;/etc/rc.d/init.d/httpd startssl;/usr/local/apache/bin/apachectl startssl




then
nano /etc/chkserv.d/chkservd.conf

add the following to it

https:1


service chkservd restart