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
aa59c46c
Commit
aa59c46c
authored
May 07, 2021
by
neilpang
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/3504
parent
0881cf13
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
aa59c46c
...
@@ -3578,6 +3578,7 @@ _regAccount() {
...
@@ -3578,6 +3578,7 @@ _regAccount() {
_err "Can not get EAB credentials from ZeroSSL."
_err "Can not get EAB credentials from ZeroSSL."
return 1
return 1
fi
fi
_debug2 "$_eabresp"
_eab_id="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_kid"' | cut -d : -f 2 | tr -d '"')"
_eab_id="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_kid"' | cut -d : -f 2 | tr -d '"')"
if [ -z "$_eab_id" ]; then
if [ -z "$_eab_id" ]; then
_err "Can not resolve _eab_id"
_err "Can not resolve _eab_id"
...
@@ -4781,7 +4782,7 @@ $_authorizations_map"
...
@@ -4781,7 +4782,7 @@ $_authorizations_map"
_debug2 response "$response"
_debug2 response "$response"
status=$(echo "$response" | _egrep_o '"status":"[^"]*' | cut -d : -f 2 | tr -d '"')
status=$(echo "$response" | _egrep_o '"status":"[^"]*' | cut -d : -f 2 | tr -d '"')
if
_contains
"
$status
"
"valid"
;
then
if _contains "$status"
'
"valid"
'
; then
_info "$(__green Success)"
_info "$(__green Success)"
_stopserver "$serverproc"
_stopserver "$serverproc"
serverproc=""
serverproc=""
...
...
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