OpenLiteSpeed 1.4.46 looses SSL information every three months

#1
Hi.

On my Ubuntu 18.04 powered DigitalOcean Droplet, my OpenLiteSpeed 1.4.46 has an issue with SSL certificates, or I believe that is the case. Everything else works flawlessly.

The initial SSL setup was OK, no trouble whatsoever and after three months the certificates were automatically renewed. About 10 days later, visitors on my site started getting "Your connection is not private" error screen and all I need to do is gracefully restart OLS. At that point, nothing was wrong with the SSL certificates so I wrote off that incident as a one-time glitch.

However, yesterday, on Christmas eve (I kid you not), the same thing happened again, also about two weeks after SSL certificates were renewed. I checked again and the certificates were OK and working. I gracefully restarted my OLS just to see everything went back to normal.

Since this server is for one of my important clients, I would like to see some light shed on this matter. I don't want this issue repeated every three months so if anyone has any clue or any ideas I would appreciate it.

Cheers,

Siniša Perović
 

Cold-Egg

Administrator
#2
Hi @Webshaped.Biz ,

Could you run this command from ssh console and share the output here?
Code:
grep certbot /etc/cron.d/certbot | grep -v '#'
It will be better if you can also provide ols restart log from `/usr/local/lsws/logs/lsrestart.log`

Best,
Eric
 
Last edited:
#3
Hi Eric and thank you for your time and effort.

This is my cron job:
0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew

and this is my lsrestart.log but nothing much there:
Code:
Wed Apr 17 05:59:40 UTC 2019
start, LSWS running: 0
Wed Apr 17 06:00:13 UTC 2019
stop, LSWS running: 1
Wed Apr 17 06:00:13 UTC 2019
start, LSWS running: 0
Wed Apr 17 06:00:18 UTC 2019
stop, LSWS running: 1
Wed Apr 17 06:00:20 UTC 2019
start, LSWS running: 0
Wed Apr 17 06:00:24 UTC 2019
start, LSWS running: 1
Wed Apr 17 06:00:31 UTC 2019
stop, LSWS running: 1
Wed Apr 17 06:00:31 UTC 2019
start, LSWS running: 0
Wed Apr 17 06:08:31 UTC 2019
stop, LSWS running: 1
Wed Apr 17 06:08:46 UTC 2019
start, LSWS running: 0
Wed May 15 05:42:07 UTC 2019
stop, LSWS running: 1
Wed May 15 05:42:21 UTC 2019
start, LSWS running: 0
Wed May 15 05:50:57 UTC 2019
stop, LSWS running: 1
Wed May 15 05:51:10 UTC 2019
start, LSWS running: 0
Wed May 15 18:35:06 UTC 2019
stop, LSWS running: 1
Wed May 15 18:35:21 UTC 2019
start, LSWS running: 0
Tue May 28 06:42:46 UTC 2019
stop, LSWS running: 1
Tue May 28 06:43:01 UTC 2019
start, LSWS running: 0
Tue May 28 12:59:03 UTC 2019
stop, LSWS running: 1
Tue May 28 12:59:18 UTC 2019
start, LSWS running: 0
Wed May 29 02:44:12 UTC 2019
stop, LSWS running: 1
Wed May 29 02:48:38 UTC 2019
start, LSWS running: 0
Wed May 29 02:48:58 UTC 2019
stop, LSWS running: 1
Wed May 29 02:49:49 UTC 2019
start, LSWS running: 0
Tue Jun  4 02:26:45 UTC 2019
stop, LSWS running: 1
Tue Jun  4 02:30:33 UTC 2019
start, LSWS running: 0
Cheers,
Siniša Perović
 
Top