Got the “Action required: Let’s Encrypt certificate renewals” email. So I did the steps described in How to stop using TLS-SNI-01 with Certbot
I never ran into an issue like that before.
My domain is: ok.fahmed.de
I ran this command: sudo certbot renew --dry-run
It produced this output: Processing /etc/letsencrypt/renewal/ok.fahmed.de.conf
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for ok.fahmed.de
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (ok.fahmed.de) from /etc/letsencrypt/renewal/ok.fahmed.de.conf produced an unexpected error: Failed authorization procedure. ok.fahmed.de (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://ok.fahmed.de/.well-known/acme-challenge/G1Gf7h2lhuipYcRa7T6wKpgDvrR_caZnrFeIsjbV7uU: “\n\n403 Forbidden\n\n
Forbidden
\n<p”. Skipping.All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ok.fahmed.de/fullchain.pem (failure)
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ok.fahmed.de/fullchain.pem (failure)
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: ok.fahmed.de
Type: unauthorized
Detail: Invalid response from
http://ok.fahmed.de/.well-known/acme-challenge/G1Gf7h2lhuipYcRa7T6wKpgDvrR_caZnrFeIsjbV7uU:
“\n\n403
Forbidden\n\nForbidden
\n<p”To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version): Apache2 2.4.25-3+deb9u6
The operating system my web server runs on is (include version): Debian 9
My hosting provider, if applicable, is: PixelX
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Yes
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): certbot 0.28.0