mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-06 05:22:09 +08:00
add more debug info
This commit is contained in:
4
acme.sh
4
acme.sh
@@ -4100,13 +4100,15 @@ $_authorizations_map"
|
|||||||
fi
|
fi
|
||||||
if [ "$code" != "200" ]; then
|
if [ "$code" != "200" ]; then
|
||||||
_err "Sign failed, code is not 200."
|
_err "Sign failed, code is not 200."
|
||||||
|
_err "$response"
|
||||||
_on_issue_err "$_post_hook"
|
_on_issue_err "$_post_hook"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
Le_LinkCert="$(echo "$response" | tr -d '\r\n' | _egrep_o '"certificate" *: *"[^"]*"' | cut -d '"' -f 4)"
|
Le_LinkCert="$(echo "$response" | tr -d '\r\n' | _egrep_o '"certificate" *: *"[^"]*"' | cut -d '"' -f 4)"
|
||||||
|
|
||||||
if ! _get "$Le_LinkCert" >"$CERT_PATH"; then
|
if ! _get "$Le_LinkCert" >"$CERT_PATH"; then
|
||||||
_err "Sign failed, code is not 200."
|
_err "Sign failed, can not download cert:$Le_LinkCert."
|
||||||
|
_err "$response"
|
||||||
_on_issue_err "$_post_hook"
|
_on_issue_err "$_post_hook"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user