Can not create LetsEncrypt certificate - error with agreement URL

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/”, line 235, in
File “/usr/libexec/webmin/webmin/”, line 231, in main
signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, args.dns_hook, args.cleanup_hook, log=LOGGER,
File “/usr/libexec/webmin/webmin/”, 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 [] does not match current agreement URL []”,
“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:

It works fine. Great - thank you very much!