I have setup a cronjob for renewals, and although the cron will run, it will never renew the cert. it always returns the following in the log file (replaced mydomain with dummy):
All renewal attempts failed. The following certs could not be renewed:
My cronjob looks like this:
30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log
This is not a cronjob problem per se (as far as I can tell) because it does issue the command, it does run, and it logs. It simply will never actually renew the cert.
In the shell directly, if I issue the command, it will work and properly renew.