It's a bit complicated of a setup that someone else configured and documented. The gist of it is ElasticIP -> EC2 squid proxy -> OpenVPN -> local machine that runs the web server (Jenkins).
Certbot and it's timers live on the AWS EC2 instance and I'm able to login to a root shell there and check. I know very little about sysadmin and networking but I was able to find where the timers are listed on the EC2 instance but I'm not sure how to find (if there exists) a log of previous attempts to renew the cert via timer, or what the parameters of the actual command are being run on a timer.
Manually stopping squid, regenerating the cert, and starting squid works fine.
I'm also unsure how the EC2 instance is running such a new version of certbot when I haven't run any updates on the system myself in a while.
My domain is:
https://jenkins.greatscottgadgets.com
I ran this command:
systemctl list-timers
It produced this output:
NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2026-02-04 05:11:00 UTC 8h left n/a n/a snap.certbot.renew.timer snap.certbot.renew.service
$ cat snap.certbot.renew.service
[Unit]
# Auto-generated, DO NOT EDIT
Description=Service for snap application certbot.renew
Requires=snap-certbot-5361.mount
Wants=network.target
After=snap-certbot-5361.mount network.target snapd.apparmor.service
X-Snappy=yes
[Service]
EnvironmentFile=-/etc/environment
ExecStart=/usr/bin/snap run --timer="00:00~24:00/2" certbot.renew
SyslogIdentifier=certbot.renew
Restart=no
WorkingDirectory=/var/snap/certbot/5361
TimeoutStopSec=30
Type=oneshot
$ cat snap.certbot.renew.timer
[Unit]
# Auto-generated, DO NOT EDIT
Description=Timer renew for snap application certbot.renew
Requires=snap-certbot-5361.mount
After=snap-certbot-5361.mount
X-Snappy=yes
[Timer]
Unit=snap.certbot.renew.service
OnCalendar=*-*-* 05:11
OnCalendar=*-*-* 20:35
[Install]
WantedBy=timers.target
My web server is (include version):
Jenkins?
The operating system my web server runs on is (include version):
Ubuntu 20.04.6 LTS
My hosting provider, if applicable, is:
AWS?
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 (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
5.3.0
