Letsencrypt, request failed

Hi,
Trying out Letsencrypt but not much success so far.

CentOS 7.2
Webmin 1.791
Virtualmin 5.01.gpl

Parsing account key…
Parsing CSR…
Registering account…
Already registered!
Verifying web01.xyz.se…
Traceback (most recent call last):
File “/usr/libexec/webmin/webmin/acme_tiny.py”, line 203, in
main(sys.argv[1:])
File “/usr/libexec/webmin/webmin/acme_tiny.py”, line 199, in main
signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca)
File “/usr/libexec/webmin/webmin/acme_tiny.py”, line 128, in get_crt
wellknown_path, wellknown_url))
ValueError: Wrote file to /home/xyz/public_html/.well-known/acme-challenge/VtrABb_jVavFgg5zYS4heNdPKs2545cP06wiX8DO6vc, but couldn’t download http://web01.xyz.se/.well-known/acme-challenge/VtrABb_jVavFgg5zYS4heNdPKs2545cP06wiX8DO6vc

xyz.se is just an example. I’m using a proper domain when trying to issue.

Any ideas?

Thanks.

Found something in /var/log/messages

ar 16 19:01:04 web01 named[953]: error (network unreachable) resolving ‘acme-v01.api.letsencrypt.org/A/IN’: 2a02:26f0:67::42#53
Mar 16 19:01:04 web01 named[953]: error (network unreachable) resolving ‘acme-v01.api.letsencrypt.org/AAAA/IN’: 2a02:26f0:67::42#53
Mar 16 19:01:04 web01 named[953]: error (network unreachable) resolving ‘letsencrypt.org/DS/IN’: 2001:500:f::1#53

A bit out of my depth here but the system can ping the hostnames. Judging by the log messages it seems it wants to connect over IPV6.

Any ideas?

Do you have .htaccess file in the html dir ? if yes rename it and try again

Thanks. That wasn’t it but I found it.

The path to letsencrypt-auto wasn’t in the module configuration. I know it was there but I must have fudged it along the way somewhere.

Now I just need to figure out how to configure Apache for SNI to get it to work for all domains.