mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-29 19:32:45 +00:00
Merge 11d7153594b281a5c00717a04515d64aa26c1386 into 40b6db6a2715628aa977ed1853fe5256704010ae
This commit is contained in:
commit
35579ba55f
9
acme.sh
9
acme.sh
@ -5073,6 +5073,15 @@ $_authorizations_map"
|
||||
response="$(echo "$response" | _normalizeJson)"
|
||||
_debug2 response "$response"
|
||||
|
||||
status=$(echo "$response" | _egrep_o 'Challenge is already valid' | cut -d ' ' -f 4 | head -1)
|
||||
if [ "$status" = "valid" ]; then
|
||||
_info "$(__green Success)"
|
||||
_stopserver "$serverproc"
|
||||
serverproc=""
|
||||
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
||||
break
|
||||
fi
|
||||
|
||||
status=$(echo "$response" | _egrep_o '"status":"[^"]*' | cut -d : -f 2 | tr -d '"')
|
||||
_debug2 status "$status"
|
||||
if _contains "$status" "invalid"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user