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

5 posts / 0 new
Last post
#1 Thu, 11/16/2017 - 00:49
Niko9911

[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!!!

Thu, 11/16/2017 - 00:53
Niko9911

Waiting for repo update. I did manual fix tough...

Fri, 11/17/2017 - 08:25
SmileX

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

Fri, 11/17/2017 - 09:44
Niko9911

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)

Mon, 11/27/2017 - 21:03
paulzag

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
Topic locked