My domain is:
moinmovement.net
www.moinmovement.net
I ran this command:
sudo certbot renew --dry-run
It produced this output:
Attempting to renew cert (moinmovement.net) from /etc/letsencrypt/renewal/moinmovement.net.conf produced an unexpected error: Failed authorization procedure. www.moinmovement.net (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.moinmovement.net/.well-known/acme-challenge/2DBrfjBqNEXqMcfKe4lCkX4rm8bnj9A2qqPOlLz6ZEU: "
Moin Movement League <link rel="styl", moinmovement.net (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://moinmovement.net/.well-known/acme-challenge/DKsHYgXpUFWTQ_WKpbi1-ULzygOLpHB0y0YAtBC9F8o: " Moin Movement League <link rel="styl". Skipping. All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/moinmovement.net/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/moinmovement.net/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: www.moinmovement.net
Moin Movement League <link rel="styl"
Type: unauthorized
Detail: Invalid response from
http://www.moinmovement.net/.well-known/acme-challenge/2DBrfjBqNEXqMcfKe4lCkX4rm8bnj9A2qqPOlLz6ZEU:
"Domain: moinmovement.net
Moin Movement League <link rel="styl"
Type: unauthorized
Detail: Invalid response from
http://moinmovement.net/.well-known/acme-challenge/DKsHYgXpUFWTQ_WKpbi1-ULzygOLpHB0y0YAtBC9F8o:
"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):
Express
The operating system my web server runs on is (include version):
Ubuntu 16.04.4
My hosting provider, if applicable, is:
Amazon Lightsail
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):
No
Hello Let’s Encrypt community. This is my first time trying to renew a certificate and I am having some troubles. I am new to a lot of this and thought I might get some help here so I don’t mess anything up and cause myself more issue.
You can see from the error above invalid response. I think this is because I am redirecting all traffic from port 80 using PREROUTING iptables and so the response it is receiving a 301 redirect.
I placed a txt file @ www.moinmovement.net/.well-known/acme-challenge/test.txt to help with troubleshooting.
can someone help me think what my options are here? Thank you very much.