Browse Source

Check for Valid ACME response and continue waiting

pull/632/head
Tim Kimber 5 years ago
parent
commit
51ac8a3483
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      getssl

+ 3
- 2
getssl View File

@ -491,8 +491,9 @@ check_challenge_completion() { # checks with the ACME server if our challenge is
error_exit "$domain:Verify error:$err_detail"
fi
# if ACME response is pending ( they haven't completed checks yet) then wait and try again.
if [[ "$status" == "pending" ]] ; then
# if ACME response is pending (they haven't completed checks yet)
# or valid (completed checks but not created certificate) then wait and try again.
if [[ "$status" == "pending" ]] || [[ "$status" == "valid" ]]; then
info "Pending"
else
err_detail=$(echo "$response" | grep "detail")


Loading…
Cancel
Save