Can not create LetsEncrypt certificate - error with agreement URL

Hi,
I just set up a new server with VirtualMin and try to secure subdomains with SSLCertificate. I can not create a cert because it says “agreement URL does not match”.
What is here wrong?

**** LOG ****

Parsing account key…
Parsing CSR…
Registering account…
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 106, in get_crt
raise ValueError(“Error registering: {0} {1}”.format(code, result))
ValueError: Error registering: 400 {
“type”: “urn:acme:error:malformed”,
“detail”: “Provided agreement URL [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf] does not match current agreement URL [https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf]”,
“status”: 400
}

This is fixed in git for the upcoming Webmin release, which is coming today, I think. You can also manually update the URL in that file to the new one, and it’ll resolve the problem. Here’s the updated line in git: https://github.com/webmin/webmin/blob/1b424290e85dca96cfeffedd5432f77c67eadc6e/webmin/acme_tiny.py#L107

It works fine. Great - thank you very much!