Let's Encrypt renew command doesn't work when certificates were created manually
Type of issue
Problem to solve
The instructions at https://docs.gitlab.com/ee/user/project/pages/lets_encrypt_for_gitlab_pages.html#renewal inform the reader
to simply run sudo certbot renew
to renew Let's Encrypt certificates. This fails, seemingly due to the fact the manual
certificates were created initially. The renew
command appears to be intended to be run on the server directly, not in this situation.
Further details
Error message when running renew:
Attempting to renew cert (server.com) from /etc/letsencrypt/renewal/server.com.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.
Proposal
Please help to clarify the specific commands to use to update the cert. (I can re-issue a new certificate, including domain verification, but I hope this is not the only way to renew certificates for Gitlab Pages.)