Hi, I’ve installed LE certificates for a while using the same technique and suddenly on this machine the process fails with the DNS. It seems that LE servers have cached a wrong response for too long. I retried a few times over the last two weeks but DNS resolution still seems to fail. Can someone help?
My domain is: federated.public-infrastructure.eu
I ran this command: letsencrypt certonly --agree-tos --webroot -w /var/www/certbot -d federated.public-infrastructure.eu
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for federated.public-infrastructure.eu
Using the webroot path /var/www/certbot for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Unable to clean up challenge directory /var/www/certbot/.well-known/acme-challenge
Failed authorization procedure. federated.public-infrastructure.eu (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://federated.public-infrastructure.eu/.well-known/acme-challenge/ieMTSS27LGpXnEe_YERTkwE1LpKOROoA6Leq4OEblM0: Timeout
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: federated.public-infrastructure.eu
Type: connection
Detail: Fetching
http://federated.public-infrastructure.eu/.well-known/acme-challenge/ieMTSS27LGpXnEe_YERTkwE1LpKOROoA6Leq4OEblM0:
Timeout
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
Relevant log:
Content-Type: application/json
Content-Length: 1535
Link: <https://acme-v01.api.letsencrypt.org/acme/new-cert>;rel="next"
Replay-Nonce: nMS5LA-60TIWtRqDHlXjyR21k_fAobRACv_G2s_hock
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Sun, 08 Apr 2018 14:22:00 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 08 Apr 2018 14:22:00 GMT
Connection: keep-alive
{
"identifier": {
"type": "dns",
"value": "federated.public-infrastructure.eu"
},
"status": "invalid",
"expires": "2018-04-15T14:21:47Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:acme:error:connection",
"detail": "Fetching http://federated.public-infrastructure.eu/.well-known/acme-challenge/ieMTSS27LGpXnEe_YERTkwE1LpKOROoA6Leq4OEblM0: Timeout",
"status": 400
},
Checklist:
- DNS record:
$ host federated.public-infrastructure.eu federated.public-infrastructure.eu has address 195.201.114.143 federated.public-infrastructure.eu has IPv6 address 2a01:4f8:1c0c:7ab0:: $ dig A federated.public-infrastructure.eu ... federated.public-infrastructure.eu. 798 IN A 195.201.114.143
- Web responds: here is a test curl output to return a simple plain text file containing ‘ok’:
curl -ikL http://federated.public-infrastructure.eu/.well-known/acme-challenge/REJtGMMjSnP_1MxrwPBwzAHwiKV0Zm3VJGq1tvHKe0E HTTP/1.1 200 OK Server: nginx/1.10.3 Date: Sun, 08 Apr 2018 14:13:34 GMT Content-Type: text/plain Content-Length: 3 Last-Modified: Mon, 02 Apr 2018 20:36:46 GMT Connection: keep-alive ETag: "5ac2945e-3" Accept-Ranges: bytes ok
- Home page responds: http://federated.public-infrastructure.eu/
- Challenge file is properly written and accessible during
letsencrypt
run.
My web server is: nginx version: nginx/1.10.3
The operating system my web server runs on is: Debian GNU/Linux 9 (stretch)
My hosting provider is: Hetzner cloud
I can login to a root shell on my machine: yes
I’m using a control panel to manage my site: no