I hope someone can help with why my certs might not be auto-renewing.
Previously I had this topic regarding how to create my certs: Running certbot without updating nginx virtualhost files
and ultimately created my cert and sub-domains using:
certbot certonly --nginx --cert-name mydomain.nz -d mydomain.nz -d www.mydomain.nz -d docker.mydomain.nz -d hass.mydomain.nz -d gitlab.mydomain.nz -d test.mydomain.nz -d nz.mydomain.nz -d ghost.mydomain.nz -d test3.mydomain.nz
However the last couple of days I’ve been getting email notifications that some of my sub-domains are expiring.
My understanding was that certbox should be attempting to auto-renew the certs based on the cron job that gets created:
matt@yoshi:~$ 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. 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
Am I missing something here?
FYI - Using sub-domain method rather than wildcard because my DNS provider doesn’t allow txt records for certbox to work.
Thanks in advance,