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
9cecd525
Commit
9cecd525
authored
Jul 18, 2018
by
neil
Browse files
fix JWS has an invalid anti-replay nonce
https://github.com/Neilpang/acme.sh/issues/1630
parent
4f5995ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
9cecd525
...
@@ -1607,7 +1607,7 @@ _inithttp() {
...
@@ -1607,7 +1607,7 @@ _inithttp() {
}
}
# body url [needbase64] [POST|PUT] [ContentType]
# body url [needbase64] [POST|PUT
|DELETE
] [ContentType]
_post() {
_post() {
body="$1"
body="$1"
_post_url="$2"
_post_url="$2"
...
@@ -1897,7 +1897,7 @@ _send_signed_request() {
...
@@ -1897,7 +1897,7 @@ _send_signed_request() {
_debug3 _body "$_body"
_debug3 _body "$_body"
fi
fi
if
_contains
"
$_body
"
"JWS has invalid anti-replay nonce"
;
then
if _contains "$_body" "JWS has invalid anti-replay
nonce" || _contains "$_body" "JWS has an invalid anti-replay
nonce"; then
_info "It seems the CA server is busy now, let's wait and retry."
_info "It seems the CA server is busy now, let's wait and retry."
_sleep 5
_sleep 5
continue
continue
...
...
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