mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 03:12:47 +00:00
Workaround for DogtagPKI - Challenge is already valid
This commit is contained in:
parent
c33e5bc40f
commit
11d7153594
9
acme.sh
9
acme.sh
@ -4705,6 +4705,15 @@ $_authorizations_map"
|
|||||||
response="$(echo "$response" | _normalizeJson)"
|
response="$(echo "$response" | _normalizeJson)"
|
||||||
_debug2 response "$response"
|
_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 '"')
|
status=$(echo "$response" | _egrep_o '"status":"[^"]*' | cut -d : -f 2 | tr -d '"')
|
||||||
if [ "$status" = "valid" ]; then
|
if [ "$status" = "valid" ]; then
|
||||||
_info "$(__green Success)"
|
_info "$(__green Success)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user