PAG is only for v2

This commit is contained in:
neilpang 2019-01-06 20:42:01 +08:00
parent 925aeae4f4
commit e3627ed623

View File

@ -4069,8 +4069,12 @@ $_authorizations_map"
_debug "sleep 2 secs to verify"
sleep 2
_debug "checking"
if ! _send_signed_request "$uri"; then
if [ "$ACME_VERSION" = "2" ]; then
_send_signed_request "$uri"
else
response="$(_get "$uri")"
fi
if [ "$?" != "0" ]; then
_err "$d:Verify error:$response"
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
_clearup