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
7e3cbb46
Commit
7e3cbb46
authored
Feb 06, 2016
by
neil
Browse files
fix issue, decode the error message.
parent
03bf3c2d
Changes
1
Show whitespace changes
Inline
Side-by-side
le.sh
View file @
7e3cbb46
...
@@ -457,7 +457,7 @@ _clearupwebbroot() {
...
@@ -457,7 +457,7 @@ _clearupwebbroot() {
_debug
"remove
$__webroot
/.well-known/acme-challenge/
$3
"
_debug
"remove
$__webroot
/.well-known/acme-challenge/
$3
"
rm
-rf
"
$__webroot
/.well-known/acme-challenge/
$3
"
rm
-rf
"
$__webroot
/.well-known/acme-challenge/
$3
"
else
else
_info
"
s
kip for removelevel:
$2
"
_info
"
S
kip for removelevel:
$2
"
fi
fi
return
0
return
0
...
@@ -830,8 +830,8 @@ issue() {
...
@@ -830,8 +830,8 @@ issue() {
if
[
-z
"
$Le_LinkCert
"
]
;
then
if
[
-z
"
$Le_LinkCert
"
]
;
then
response
=
"
$(
echo
$response
| openssl
base64
-d
)
"
response
=
"
$(
echo
$response
| openssl
base64
-d
-A
)
"
_err
"Sign failed:
$response
"
_err
"Sign failed:
$(
echo
"
$response
"
|
grep
-o
'"detail":"[^"]*"'
)
"
return
1
return
1
fi
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