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
2c28d6b1
Commit
2c28d6b1
authored
Apr 13, 2022
by
neilpang
Browse files
fix for renew server
parent
df79443e
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
2c28d6b1
...
...
@@ -5151,7 +5151,7 @@ $_authorizations_map"
Le_CertCreateTime=$(_time)
_savedomainconf "Le_CertCreateTime" "$Le_CertCreateTime"
Le_CertCreateTimeStr
=
$(
date
-u
)
Le_CertCreateTimeStr=$(
_time2str "$Le_CertCreateTime"
)
_savedomainconf "Le_CertCreateTimeStr" "$Le_CertCreateTimeStr"
if [ -z "$Le_RenewalDays" ] || [ "$Le_RenewalDays" -lt "0" ]; then
...
...
@@ -5289,11 +5289,10 @@ renew() {
esac
fi
if
[
"
$Le_API
"
]
;
then
if [ "$Le_API"
] && [ "$ACME_DIRECTORY"
]; then
if [ "$Le_API" != "$ACME_DIRECTORY" ]; then
_clearAPI
fi
export
ACME_DIRECTORY
=
"
$Le_API
"
#reload ca configs
ACCOUNT_KEY_PATH=""
ACCOUNT_JSON_PATH=""
...
...
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