common disclaimer, this has been working for a while now but only recently started failing.
i’m running certbot/acme 0.15.0 and apache 2.4.25 on linux.
example command/output:
`$ certbot certonly --webroot --webroot-path /var/www/wh0rd
-d wh0rd.org -d wh0rd.ca -d wh0rd.info -d wh0rd.net
-d wh0rd.org -d wh0rd.us -d www.wh0rd.org
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for wh0rd.org
http-01 challenge for wh0rd.ca
http-01 challenge for wh0rd.info
http-01 challenge for wh0rd.net
http-01 challenge for wh0rd.us
http-01 challenge for www.wh0rd.org
Using the webroot path /var/www/wh0rd for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. wh0rd.ca (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://wh0r.org/.well-kn
own/acme-challenge/rzZBylXcnMlJm1KiERYc2nM-K5NF9ELp8PvCeBzeFwk: Error getting validation data, wh0rd.info (http-01): urn:acme:error:connection :: The server could not connect to the
client to verify the domain :: Fetching http://wh0rd…org/.well-known/acme-challenge/zNZZiRLg-hbn2dQKLby_SSsIsu5MhdM6DQBrCjNC-Po: Error getting validation data, wh0rd.us (http-01):
urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://wh0r.org/.well-known/acme-challenge/8tX7DV9tfcDmsJV3SluCT6Hs5j9PrEne
9B5qkpogjcU: Error getting validation data
.
IMPORTANT NOTES:
- The following errors were reported by the server:
.
Domain: wh0rd.ca
Type: connection
Detail: Fetching
http://wh0r.org/.well-known/acme-challenge/rzZBylXcnMlJm1KiERYc2nM-K5NF9ELp8PvCeBzeFwk:
Error getting validation data
.
Domain: wh0rd.info
Type: connection
Detail: Fetching
http://wh0rd…org/.well-known/acme-challenge/zNZZiRLg-hbn2dQKLby_SSsIsu5MhdM6DQBrCjNC-Po:
Error getting validation data
.
Domain: wh0rd.us
Type: connection
Detail: Fetching
http://wh0r.org/.well-known/acme-challenge/8tX7DV9tfcDmsJV3SluCT6Hs5j9PrEne9B5qkpogjcU:
Error getting validation data
.
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.
`
now the interesting bits are the domains that are failing. they’re the ones where the tld is a different length from the target. e.g. these domains all point to wh0rd.org (strlen(“org”) == 3), and we see the failures:
wh0rd.ca (strlen(“ca”) == 2) fails trying to fetch "wh0r.org"
wh0rd.info (strlen(“info”) == 4) fails trying to fetch "wh0rd…org"
wh0rd.us (strlen(“us”) == 2) fails trying to fetch “wh0r.org”
from what i can tell, these responses/errors are coming from the LE servers, so there isn’t much i can do about them ?
when i remove those three domains from the certbot command, i’m able to renew the certs just fine.