[CRITICAL BUG] Let's Encrypt Agreement has been Updated

Because agreement were updated yesterday you cannot reguest certificates untill script in updated.

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
}

Please update it ASAP!!!

Waiting for repo update. I did manual fix tough…

I have the same problem, is there an update ?
Niko could you explain how you fixed it ?

Open file with nano or vim. File is /usr/libexec/webmin/webmin/acme_tiny.py
So, like “nano /usr/libexec/webmin/webmin/acme_tiny.py”

Then find row where is “https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf” (Might be on row 99)
then replace it with “https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
Then reboot webmin. (sudo service restart webmin)

I’m currently preferring to edit acme_tiny.py and change line 99 to be

“agreement”: json.loads(urlopen(CA + “/directory”).read().decode(‘utf8’))[‘meta’][‘terms-of-service’],

It seems more future-proof until the bugfix is done.

BTW on Debian/Ubuntu the location is

/usr/share/webmin/webmin/acme_tiny.py