If you get in trouble with acme-tiny client, I have 2 fixes for you:
- The obvious one is to keep it up-to-date, that fixed it here (Duh!).
- Plus you may require a small hack for
acme-tiny.py
:
diff --git a/acme_tiny.py b/acme_tiny.py index ba04e37..4f30c3a 100755 --- a/acme_tiny.py +++ b/acme_tiny.py @@ -132,7 +132,7 @@ def get_crt(account_key, csr, acme_dir, log=LOGGER, CA=DEFAULT_CA, disable_check token = re.sub(r"[^A-Za-z0-9_\-]", "_", challenge['token']) keyauthorization = "{0}.{1}".format(token, thumbprint) wellknown_path = os.path.join(acme_dir, token) - with open(wellknown_path, "w") as wellknown_file: + with os.fdopen(os.open(wellknown_path, os.O_WRONLY | os.O_CREAT, 0644), 'w') as wellknown_file: wellknown_file.write(keyauthorization) # check that the file is in place
As you can see, you need to change line 135 (commit 5350420d35177eda733d85096433a24e55f8d00e) a bit.
I hope this helps someone.