mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
fix issue, decode the error message.
This commit is contained in:
parent
03bf3c2da1
commit
7e3cbb4661
6
le.sh
6
le.sh
@ -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 "skip for removelevel:$2"
|
_info "Skip for removelevel:$2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user