Cert is due for renewal, auto-renewing...
Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.',)
Attempting to renew cert (www.cag.org.in) from /etc/letsencrypt/renewal/www.cag.org.in.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.',). Skipping.
The following certs could not be renewed:
/etc/letsencrypt/live/www.tegi.org.in/fullchain.pem (failure)
/etc/letsencrypt/live/thermalwatch.org.in/fullchain.pem (failure)
/etc/letsencrypt/live/www.cag.org.in/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)
The following certs were successfully renewed:
/etc/letsencrypt/live/old.thermalwatch.org.in/fullchain.pem (success)
/etc/letsencrypt/live/tcn.cag.org.in/fullchain.pem (success)
/etc/letsencrypt/live/data.cag.org.in/fullchain.pem (success)
/etc/letsencrypt/live/tegi.org.in/fullchain.pem (success)
/etc/letsencrypt/live/cag.org.in/fullchain.pem (success)
/etc/letsencrypt/live/www.thermalwatch.org.in/fullchain.pem (success)
/etc/letsencrypt/live/old.cag.org.in/fullchain.pem (success)
The following certs could not be renewed:
/etc/letsencrypt/live/www.tegi.org.in/fullchain.pem (failure)
/etc/letsencrypt/live/thermalwatch.org.in/fullchain.pem (failure)
/etc/letsencrypt/live/www.cag.org.in/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
3 renew failure(s), 0 parse failure(s)
I will be thankful for any suggestions to fix this as it appears that the certs which are due for renewal (and which have all failed the dry run test) may not renew properly. The server is running Ubuntu 14.04 and Apache 2.4.x and the certbot version is 0.28. The Certbot package showed as having been kept back, so I ran apt-get install certbot to upgrade it to 0.28
It seems that some certs may have been obtained "manually".
There is no way to automatically automate that process.
Please review one of the failed cert renewal configs.
Something like (or show it here): cat /etc/letsencrypt/renewal/www.tegi.org.in.conf
The three certs showing as INVALID: EXPIRED are also the ones that failed the dry run after upgrading Certbot to version 0.28. Strangely, there are also valid certs for those three domains!!
@ JuergenAuer
Thank you for the details and commands. I will try deleting one of these invalid certs after backing up. May be the renewal is not a problem at all, as you mentioned.
I loaded the three sites in a browser and found they are all using the active certs. So, do I really need to replace them in the first place? Or, can I simply go ahead and delete the expired ones?
I took a backup of the LetsEncrypt folder with cp /etc/letsencrypt/ /etc/letsencrypt.backup -r and then proceeded to delete the certs that had expired/were invalid.
The dry run shows perfect results now:
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)
Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/old.thermalwatch.org.in/fullchain.pem (success)
/etc/letsencrypt/live/tcn.cag.org.in/fullchain.pem (success)
/etc/letsencrypt/live/data.cag.org.in/fullchain.pem (success)
/etc/letsencrypt/live/tegi.org.in/fullchain.pem (success)
/etc/letsencrypt/live/cag.org.in/fullchain.pem (success)
/etc/letsencrypt/live/www.thermalwatch.org.in/fullchain.pem (success)
/etc/letsencrypt/live/old.cag.org.in/fullchain.pem (success)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
Thanks to you and @ JuergenAuer for all the suggestions and commands to help resolve this issue. Much appreciated.