Commit d9763075 authored by Adrien Dorsaz's avatar Adrien Dorsaz

acme_dns_tiny: to validate the challenge, payload must be empty

parent a7d50ce8
Pipeline #275 passed with stages
in 23 minutes and 19 seconds
......@@ -260,8 +260,7 @@ def get_crt(config, log=LOGGER):
time.sleep(config["DNS"].getint("TTL"))
log.info("Asking ACME server to validate challenge.")
http_response, result = _send_signed_request(challenge["url"],
{"keyAuthorization": keyauthorization})
http_response, result = _send_signed_request(challenge["url"], {})
if http_response.status_code != 200:
raise ValueError("Error triggering challenge: {0} {1}"
.format(http_response.status_code, result))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment