I would understand better if I should modify (or not) the “native” certbot “/etc/cron.d/certbot” to make sure that the renewal process become automatic or if I must create a new one cron task.
I read that letsencrypt certificates renews at least one month before the data expiration.
In my situation, my certificates expire May 7, 2020, is there something wrong maybe?
How to verify?
Attempting to renew cert (server3.example.org) from /etc/letsencrypt/renewal/server3.example.org.conf produced an unexpected error: Missing command line flag or config entry for this setting:
Select the webroot for server3.example.org:
Choices: ['Enter a new webroot', '/var/www/letsencrypt']
(You can set this with the --webroot-path flag). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/server3.example.org/fullchain.pem (failure)
where your_cert_name you’ll get from certbot certificates or from ls /etc/letsencrypt/live and some command is the command that will reload the services that rely on your certificate.
And if you’re only using apache, you should remove all that stuff and just use certbot renew --cert-name "your_cert_name" --apache
Well, thanks for your very exhaustive explanation!
I’ve done exactly as you suggest here, now I will pay attention to the next renewal, if it will be successful