Commit dfcb899b authored by Adrien Dorsaz's avatar Adrien Dorsaz

Update, previous commit has inverted max order call.

parent 631c44d5
Pipeline #182 failed with stage
in 8 minutes and 50 seconds
......@@ -209,7 +209,7 @@ def get_crt(config, log=LOGGER):
time.sleep(2)"Waiting for {0} seconds before asking ACME server to validate challenge.".format(max(5, config["acmednstiny"].getint("CheckChallengeDelay"))))
max(5, time.sleep(config["acmednstiny"].getint("CheckChallengeDelay")))
time.sleep(max(5, config["acmednstiny"].getint("CheckChallengeDelay")))
code, result, headers = _send_signed_request(challenge["url"], {"keyAuthorization": keyauthorization})
if code != 200:
raise ValueError("Error triggering challenge: {0} {1}".format(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