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
fdbb7fd3
Unverified
Commit
fdbb7fd3
authored
Mar 08, 2019
by
neil
Committed by
GitHub
Mar 08, 2019
Browse files
Merge pull request #2144 from Neilpang/dev
fix
https://github.com/Neilpang/acme.sh/issues/2141
parents
08357e3c
a3d8b993
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
fdbb7fd3
...
@@ -4250,7 +4250,7 @@ $_authorizations_map"
...
@@ -4250,7 +4250,7 @@ $_authorizations_map"
_link_cert_retry
=
0
_link_cert_retry
=
0
_MAX_CERT_RETRY
=
5
_MAX_CERT_RETRY
=
5
while
[
-z
"
$Le_LinkCert
"
]
&&
[
"
$_link_cert_retry
"
-lt
"
$_MAX_CERT_RETRY
"
]
;
do
while
[
"
$_link_cert_retry
"
-lt
"
$_MAX_CERT_RETRY
"
]
;
do
if
_contains
"
$response
"
"
\"
status
\"
:
\"
valid
\"
"
;
then
if
_contains
"
$response
"
"
\"
status
\"
:
\"
valid
\"
"
;
then
_debug
"Order status is valid."
_debug
"Order status is valid."
Le_LinkCert
=
"
$(
echo
"
$response
"
|
tr
-d
'\r\n'
| _egrep_o
'"certificate" *: *"[^"]*"'
|
cut
-d
'"'
-f
4
)
"
Le_LinkCert
=
"
$(
echo
"
$response
"
|
tr
-d
'\r\n'
| _egrep_o
'"certificate" *: *"[^"]*"'
|
cut
-d
'"'
-f
4
)
"
...
...
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