My certificate appears to be renewing as scheduled but browsers are not picking up the renewal. I’ve asked for help on this topic before and thought it was solved but once again browsers are not getting my renewed certificate.
Here is a link to the previous thread: SSL certificate renewed but browsers not updating with new certificate
My domain is: vestasit.com
I ran this command: sudo certbot certificates
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Found the following certs:
Certificate Name: vestasit.com
Domains: vestasit.com www.vestasit.com
Expiry Date: 2020-11-16 05:02:36+00:00 (VALID: 83 days)
Certificate Path: /etc/letsencrypt/live/vestasit.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/vestasit.com/privkey.pem
My web server is (include version): ubuntu 18.04.3 LTS
The operating system my web server runs on is (include version): litespeed
My hosting provider, if applicable, is: Google Cloud Platform
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is: 0.31.0
Output of command cat /etc/cron.d/certbot:
/etc/cron.d/certbot: crontab entries for the certbot package
Upstream recommends attempting renewal twice a day
Eventually, this will be an opportunity to validate certificates
haven’t been revoked, etc. Renewal will only occur if expiration
is within 30 days.
Important Note! This cronjob will NOT be executed if you are
running systemd as your init system. If you are running systemd,
the cronjob.timer function takes precedence over this cronjob. For
more details, see the systemd.timer manpage, or use systemctl show
certbot.timer.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
0 */12 * * * root test -x /usr/bin/certbot -a ! -d /run/systemd/system && perl -e ‘sleep int(rand(43200))’ && certbot -q renew
HOWEVER, I just noticed that when I use the command sudo crontab -e I have a slightly different command line which includes a hook for restarting the server (I think):
0 */12 * * * root test -x /usr/bin/certbot -a ! -d /run/systemd/system && perl -e ‘sleep int(rand(43200))’ && certbot -q renew --deploy-hook “/usr/local/lsws/bin/lswsctrl restart”
Could this discrepancy be the reason my SSl cert is not being picked up by browsers? How to I correct this?
Any help is appreciated!