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
d35bf517
Commit
d35bf517
authored
Aug 07, 2016
by
neil
Browse files
2.3.5: skip domain verify if the authorization is already valid, add to production server.
parent
ec603bee
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
d35bf517
#!/usr/bin/env sh
VER
=
2.3.
4
VER
=
2.3.
5
PROJECT_NAME
=
"acme.sh"
...
...
@@ -1510,14 +1510,14 @@ issue() {
keyauthorization
=
"
$token
.
$thumbprint
"
_debug keyauthorization
"
$keyauthorization
"
if
[
"
$STAGE
"
]
;
then
if
printf
"
$response
"
|
grep
'"status":"valid"'
>
/dev/null 2>&1
;
then
_info
"
$d
is already verified, skip."
keyauthorization
=
$STATE_VERIFIED
_debug keyauthorization
"
$keyauthorization
"
fi
if
printf
"
$response
"
|
grep
'"status":"valid"'
>
/dev/null 2>&1
;
then
_info
"
$d
is already verified, skip."
keyauthorization
=
$STATE_VERIFIED
_debug keyauthorization
"
$keyauthorization
"
fi
dvlist
=
"
$d$sep$keyauthorization$sep$uri$sep$vtype$sep$_currentRoot
"
_debug dvlist
"
$dvlist
"
...
...
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