Hi everyone,
I’ve been facing a problem for hours. Yersterday I noticed the ssl certificate of my website (xxx.fr) had to be renewed (I thought it was automatic though…)…
To avoid the Firefox warning, I wrote a redirection in a htaccess (from https to http)
So I logged in Virtualmin (Debian 8, Virtualmin 6.00) and tried to renew the LE certificate but I keep coming across those errors:
… request failed : Web-based validation failed : Failed to request certificate :
Traceback (most recent call last):
File “/usr/share/webmin/webmin/acme_tiny.py”, line 235, in
main(sys.argv[1:])
File “/usr/share/webmin/webmin/acme_tiny.py”, line 231, in main
signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, args.dns_hook, args.cleanup_hook, log=LOGGER, CA=args.ca)
File “/usr/share/webmin/webmin/acme_tiny.py”, line 171, in get_crt
raise ValueError(“Gave up waiting for validation”)
ValueError: Gave up waiting for validation
and
DNS-based validation failed : Failed to request certificate :
u’error’: {u’status’: 400, u’type’: u’urn:acme:error:connection’, u’detail’: u’DNS problem: NXDOMAIN looking up TXT for _acme-challenge.www.xxx.fr’}, u’type’: u’dns-01’}
Ok I changed the hostname and now :
ValueError: Error checking challenge: 502 {u’type’: u’urn:acme:error:serverInternal’, u’detail’: u’The service is down for maintenance or had an internal error. Check https://letsencrypt.status.io/ for more details.’}
Seems I have to wait until the end of the maintenance…
As the https rises warning I added an urlrewriting in a htaccess to force https to http.
Could it be the reason why it does not pass the Web-based validation?
you are wrong… and if you set it as you saying - you would never ever be able to deal with this issues… do you know how bind dns works? also how domain verification and dkim works? - if so, you would know already.
The solution to Let’s Encrypt not working is almost always DNS or some redirects getting in the way of validation. So, check your DNS, make sure you can browse to the link for the validation file (the URL looks like something like this: http://domain.tld/.well-known/acme-challeng/XDGS6B-og9RrtEBFAAwGpgIQ3g8P0jZlhPv983nsgK4).
joe just said it right - that is what I mean it about my own comment regards bind and dns… sorry if my answer was not very clear, however I did ask… did you resolve the problem noisemarine?
Hello, i have the same problem, the solution: set all redirects in the apache conf & .htaccess from “http” to “https” back to only “http” and you can request a new let’s encrypt certificate and works… but is not a renew, it is a new certificate! this is a bad solution because it is manually, i have 10+ hosts and i don’t have time any 3 months to make this changes manually! any know a solution to works automatically? In theory a EXCEPTION in the apache conf. and .htaccess for http://domain.tld/.well-known/acme-challeng/.