fix issue, decode the error message.

This commit is contained in:
neil 2016-02-06 13:32:46 +08:00
parent 03bf3c2da1
commit 7e3cbb4661
1 changed files with 3 additions and 3 deletions

6
le.sh
View File

@ -457,7 +457,7 @@ _clearupwebbroot() {
_debug "remove $__webroot/.well-known/acme-challenge/$3"
rm -rf "$__webroot/.well-known/acme-challenge/$3"
else
_info "skip for removelevel:$2"
_info "Skip for removelevel:$2"
fi
return 0
@ -830,8 +830,8 @@ issue() {
if [ -z "$Le_LinkCert" ] ; then
response="$(echo $response | openssl base64 -d)"
_err "Sign failed: $response"
response="$(echo $response | openssl base64 -d -A)"
_err "Sign failed: $(echo "$response" | grep -o '"detail":"[^"]*"')"
return 1
fi