Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
668c43ab
Commit
668c43ab
authored
Mar 18, 2018
by
neilpang
Browse files
add more debug info
parent
e8b54a50
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
668c43ab
...
...
@@ -4100,13 +4100,15 @@ $_authorizations_map"
fi
if
[
"
$code
"
!=
"200"
]
;
then
_err
"Sign failed, code is not 200."
_err
"
$response
"
_on_issue_err
"
$_post_hook
"
return
1
fi
Le_LinkCert
=
"
$(
echo
"
$response
"
|
tr
-d
'\r\n'
| _egrep_o
'"certificate" *: *"[^"]*"'
|
cut
-d
'"'
-f
4
)
"
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
"
return
1
fi
...
...
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