I had letsenctrypt installed, and renewing certificates for quite some time, and it has stopped renewing with a 403 error. Rebooted server as a check, not sure what has changed/how to troubleshoot from here.
My domain is: messageboard.tapeop.com
I ran this command:
certbot renew
It produced this output:
Renewing an existing certificate for messageboard.tapeop.com
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: messageboard.tapeop.com
Type: unauthorized
Detail: 172.232.175.80: Invalid response from http://messageboard.tapeop.com/.well-known/acme-challenge/mhntrGzCF7BiyY8LBEswc_XaR6TFE2-3qqcmkxOv4Pc: 403
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Failed to renew certificate messageboard.tapeop.com with error: Some challenges have failed.
All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/messageboard.tapeop.com/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
here is the contents of the renewal conf file:
more /etc/letsencrypt/renewal/messageboard.tapeop.com.conf
renew_before_expiry = 30 days
version = 1.21.0
archive_dir = /etc/letsencrypt/archive/messageboard.tapeop.com
cert = /etc/letsencrypt/live/messageboard.tapeop.com/cert.pem
privkey = /etc/letsencrypt/live/messageboard.tapeop.com/privkey.pem
chain = /etc/letsencrypt/live/messageboard.tapeop.com/chain.pem
fullchain = /etc/letsencrypt/live/messageboard.tapeop.com/fullchain.pem
Options used in the renewal process
[renewalparams]
account = dee772eacb5d31638468f269b5c86027
authenticator = apache
installer = apache
server = https://acme-v02.api.letsencrypt.org/directory
My web server is (include version):
Apache/2.4.52 running phpbb
The operating system my web server runs on is (include version):
ubuntu 22.04
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
Yes
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 1.21.0