do not fail on challenge in "processing" state (fixes #759)

This commit is contained in:
Lukas Schauer
2020-09-14 18:31:24 +02:00
parent 142c69dd90
commit 416fd0fd1b

View File

@@ -1061,7 +1061,7 @@ sign_csr() {
reqstatus="$(echo "${result}" | get_json_string_value status)"
while [[ "${reqstatus}" = "pending" ]]; do
while [[ "${reqstatus}" = "pending" ]] || [[ "${reqstatus}" = "processing" ]]; do
sleep 1
if [[ "${API}" -eq 2 ]]; then
result="$(signed_request "${challenge_uris[${idx}]}" "" | jsonsh)"