mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-09 00:22:46 +00:00
This commit is contained in:
parent
2824db2758
commit
65c0db2158
3
acme.sh
3
acme.sh
@ -3580,6 +3580,7 @@ _regAccount() {
|
||||
_err "Can not get EAB credentials from ZeroSSL."
|
||||
return 1
|
||||
fi
|
||||
_debug2 "$_eabresp"
|
||||
_eab_id="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_kid"' | cut -d : -f 2 | tr -d '"')"
|
||||
if [ -z "$_eab_id" ]; then
|
||||
_err "Can not resolve _eab_id"
|
||||
@ -4783,7 +4784,7 @@ $_authorizations_map"
|
||||
_debug2 response "$response"
|
||||
|
||||
status=$(echo "$response" | _egrep_o '"status":"[^"]*' | cut -d : -f 2 | tr -d '"')
|
||||
if _contains "$status" "valid"; then
|
||||
if _contains "$status" '"valid"'; then
|
||||
_info "$(__green Success)"
|
||||
_stopserver "$serverproc"
|
||||
serverproc=""
|
||||
|
Loading…
x
Reference in New Issue
Block a user