Let's Encrypt

I cannot get a cert for a new subdomain, not sure why and I get the same error on other webmin server in a different location. I might have registered while there was server issues on https://letsencrypt.status.io/pages/history/55957a99e800baa4470002da

I have two other virtualservers on the same machine which have their certs from Let's Encrypt working fine.

Requesting a certificate for xxx, www.xxx from Let's Encrypt .. .. request failed : Failed to request certificate :

Parsing account key... Parsing CSR... Registering account... Already registered! Verifying xxx... Traceback (most recent call last): File "/usr/libexec/webmin/webmin/acme_tiny.py", line 235, in main(sys.argv[1:]) File "/usr/libexec/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/libexec/webmin/webmin/acme_tiny.py", line 171, in get_crt raise ValueError("Gave up waiting for valiation") ValueError: Gave up waiting for valiation

Status: 
Active

Comments

This may be due to an incompatability between openssl and the webmin let's encrypt code. Try upgrading to the latest devel version of webmin with :

rpm -U http://download.webmin.com/devel/rpm/webmin-1.851-1.noarch.rpm

I changed nearly every setting and looked everywhere but eventually I realised I was registering the default domain and the www. domain but without an A Record for the www so the www. domain didn't exist.

The error that is reported back is confusing because it doesn't mention that the www. domain failed. If I had an A record for example.com and no A record for www.example.com this is the error that it gives. I suggest some kind of check on each domain and report failure of relevant domain where possible.

Already registered!
Verifying example.com...
Traceback (most recent call last):
  File "/usr/libexec/webmin/webmin/acme_tiny.py", line 235, in <module>
    main(sys.argv[1:])
  File "/usr/libexec/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/libexec/webmin/webmin/acme_tiny.py", line 171, in get_crt
    raise ValueError("Gave up waiting for valiation")
ValueError: Gave up waiting for valiation