Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
eed8a7f0
Commit
eed8a7f0
authored
Sep 02, 2023
by
neil
Browse files
add more debug code
https://github.com/acmesh-official/acme.sh/issues/4768
parent
c18364c7
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
eed8a7f0
...
@@ -5015,9 +5015,9 @@ $_authorizations_map"
...
@@ -5015,9 +5015,9 @@ $_authorizations_map"
errordetail
=
"
$(
echo
"
$error
"
| _egrep_o
'"detail": *"[^"]*'
|
cut
-d
'"'
-f
4
)
"
errordetail
=
"
$(
echo
"
$error
"
| _egrep_o
'"detail": *"[^"]*'
|
cut
-d
'"'
-f
4
)
"
_debug2 errordetail
"
$errordetail
"
_debug2 errordetail
"
$errordetail
"
if
[
"
$errordetail
"
]
;
then
if
[
"
$errordetail
"
]
;
then
_err
"
$d
:Verify error:
$errordetail
"
_err
"
Invalid status,
$d
:Verify error
detail
:
$errordetail
"
else
else
_err
"
$d
:Verify error:
$error
"
_err
"
Invalid status,
$d
:Verify error:
$error
"
fi
fi
if
[
"
$DEBUG
"
]
;
then
if
[
"
$DEBUG
"
]
;
then
if
[
"
$vtype
"
=
"
$VTYPE_HTTP
"
]
;
then
if
[
"
$vtype
"
=
"
$VTYPE_HTTP
"
]
;
then
...
@@ -5044,7 +5044,7 @@ $_authorizations_map"
...
@@ -5044,7 +5044,7 @@ $_authorizations_map"
elif
_contains
"
$status
"
"processing"
;
then
elif
_contains
"
$status
"
"processing"
;
then
_info
"Processing, The CA is processing your order, please just wait. (
$waittimes
/
$MAX_RETRY_TIMES
)"
_info
"Processing, The CA is processing your order, please just wait. (
$waittimes
/
$MAX_RETRY_TIMES
)"
else
else
_err
"
$d
:Verify error:
$response
"
_err
"
Unknown status:
$status
,
$d
:Verify error:
$response
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearup
_clearup
_on_issue_err
"
$_post_hook
"
"
$vlist
"
_on_issue_err
"
$_post_hook
"
"
$vlist
"
...
@@ -5057,7 +5057,7 @@ $_authorizations_map"
...
@@ -5057,7 +5057,7 @@ $_authorizations_map"
_send_signed_request
"
$_authz_url
"
_send_signed_request
"
$_authz_url
"
if
[
"
$?
"
!=
"0"
]
;
then
if
[
"
$?
"
!=
"0"
]
;
then
_err
"
$d
:Verify error:
$response
"
_err
"
Invalid code,
$d
:Verify error:
$response
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearup
_clearup
_on_issue_err
"
$_post_hook
"
"
$vlist
"
_on_issue_err
"
$_post_hook
"
"
$vlist
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment