Browse Source

PAG is only for v2

pull/2009/head
neilpang 7 years ago
parent
commit
e3627ed623
  1. 8
      acme.sh

8
acme.sh

@ -4069,8 +4069,12 @@ $_authorizations_map"
_debug "sleep 2 secs to verify" _debug "sleep 2 secs to verify"
sleep 2 sleep 2
_debug "checking" _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" _err "$d:Verify error:$response"
_clearupwebbroot "$_currentRoot" "$removelevel" "$token" _clearupwebbroot "$_currentRoot" "$removelevel" "$token"
_clearup _clearup

Loading…
Cancel
Save