I’ve seen other errors like this but none with solutions that seem relevant. As far as I know, I don’t have an AAAA record in my DNS config. So I think I’m doing this all over IPv4.
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: academictree.org
I ran this command: /root/certbot-auto renew # as root
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/www.academictree.org.conf
Cert not yet due for renewal
Processing /etc/letsencrypt/renewal/academictree.org.conf
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Attempting to renew cert (academictree.org) from /etc/letsencrypt/renewal/academictree.org.conf produced an unexpected error: urn:ietf:params:acme:error:rateLimited :: There were too many requests of a given type :: Error creating new order :: too many failed authorizations recently: see https://letsencrypt.org/docs/rate-limits/. Skipping.
Processing /etc/letsencrypt/renewal/neurotree.org.conf
Cert not yet due for renewal
Processing /etc/letsencrypt/renewal/www.neurotree.org.conf
Cert not yet due for renewal
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/academictree.org/fullchain.pem (failure)
The following certs are not due for renewal yet:
/etc/letsencrypt/live/www.academictree.org/fullchain.pem expires on 2019-01-15 (skipped)
/etc/letsencrypt/live/neurotree.org/fullchain.pem expires on 2019-01-22 (skipped)
/etc/letsencrypt/live/www.neurotree.org/fullchain.pem expires on 2019-01-15 (skipped)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/academictree.org/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
root@ip-172-31-23-211:~# ./certbot-auto renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/www.academictree.org.conf
Cert not yet due for renewal
Processing /etc/letsencrypt/renewal/academictree.org.conf
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for academictree.org
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (academictree.org) from /etc/letsencrypt/renewal/academictree.org.conf produced an unexpected error: Failed authorization procedure. academictree.org (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://academictree.org/.well-known/acme-challenge/l1QmUOXlrn2zxhSqDcYhWaJkU47EZfJDp0qStM8z3OI: “<!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p”. Skipping.
Processing /etc/letsencrypt/renewal/neurotree.org.conf
Cert not yet due for renewal
Processing /etc/letsencrypt/renewal/www.neurotree.org.conf
Cert not yet due for renewal
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/academictree.org/fullchain.pem (failure)
The following certs are not due for renewal yet:
/etc/letsencrypt/live/www.academictree.org/fullchain.pem expires on 2019-01-15 (skipped)
/etc/letsencrypt/live/neurotree.org/fullchain.pem expires on 2019-01-22 (skipped)
/etc/letsencrypt/live/www.neurotree.org/fullchain.pem expires on 2019-01-15 (skipped)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/academictree.org/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: academictree.org
Type: unauthorized
Detail: Invalid response from
http://academictree.org/.well-known/acme-challenge/l1QmUOXlrn2zxhSqDcYhWaJkU47EZfJDp0qStM8z3OI:
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\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):
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2018-06-07T19:43:03
The operating system my web server runs on is (include version):
Linux version 4.4.0-135-generic (buildd@lcy01-amd64-020) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #161-Ubuntu SMP Mon Aug 27 10:45:01 UTC 2018
My hosting provider, if applicable, is: Amazon EC2
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