Hope someone can help me figure out what I am doing wrong, as I have used let’s Encrypt for about 3 years without problems and it always worked wonderfully until my last renewal.
I have searched and try different solution in this forum but I cannot get it to work.
Port 80 is enabled in my router, IPv6 should be disabled (help me to verify if I did it correctly thus), I have created this directory and put a test file in it and it shows correctly on my website path:
my.website/.well-known/acme-challenge/test
I have no idea why it doens’t work.
I cannot renew or create a new certificate, I keep getting this error:
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: excloud.ddns.net
Type: unauthorized
Detail: Invalid response from
https://excloud.ddns.net/.well-known/acme-challenge/FMsgS5VXO87n11nKp1DzojgZI76SWRh_DxAOlJ9AuJQ
[126.11.184.241]: “\n\n404 Not
Found\n\nNot Found
\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.
There are the latest logs:
2019-06-09 13:43:56,994:DEBUG:certbot.error_handler:Calling registered functions
2019-06-09 13:43:56,994:INFO:certbot.auth_handler:Cleaning up challenges
2019-06-09 13:43:57,267:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/certbot”, line 11, in
load_entry_point(‘certbot==0.31.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1365, in main
return config.func(config, plugins)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1119, in run
certname, lineage)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 121, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 410, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 353, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 389, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 82, in handle_authorizations
self._respond(aauthzrs, resp, best_effort)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 168, in _respond
self._poll_challenges(aauthzrs, chall_update, best_effort)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 239, in _poll_challenges
raise errors.FailedChallenges(all_failed_achalls)
certbot.errors.FailedChallenges: Failed authorization procedure. excloud.ddns.net (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://excloud.ddns.net/.well-known/acme-challenge/a19IeSzsqIWy2C31ncXiY4qTwen6qqpFomaetAsPoD0 [126.11.184.241]: “\n\n404 Not Found\n\n
Not Found
\n<p”My domain is:
https://excloud.ddns.net
I ran this command:
sudo certbot --apache -d excloud.ddns.net and also tried sudo certbot --apache
It produced this output:
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: excloud.ddns.net
Type: unauthorized
Detail: Invalid response from
https://excloud.ddns.net/.well-known/acme-challenge/FMsgS5VXO87n11nKp1DzojgZI76SWRh_DxAOlJ9AuJQ
[126.11.184.241]: “\n\n404 Not
Found\n\nNot Found
\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):
latest apache2 version
The operating system my web server runs on is (include version):
Ubuntu Server 18.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
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
Not sure what is a control panel
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
certbot 0.31.0