Commit e1d7a6b9 authored by neil's avatar neil
Browse files

fix renew server

parent 38778f8a
...@@ -2690,7 +2690,6 @@ _initAPI() { ...@@ -2690,7 +2690,6 @@ _initAPI() {
} }
_clearCA() { _clearCA() {
export ACME_DIRECTORY=
export CA_CONF= export CA_CONF=
export ACCOUNT_KEY_PATH= export ACCOUNT_KEY_PATH=
export ACCOUNT_JSON_PATH= export ACCOUNT_JSON_PATH=
...@@ -5290,14 +5289,11 @@ renew() { ...@@ -5290,14 +5289,11 @@ renew() {
fi fi
_info "Renew to Le_API=$Le_API" _info "Renew to Le_API=$Le_API"
export ACME_DIRECTORY="$Le_API"
_clearAPI _clearAPI
_clearCA _clearCA
export ACME_DIRECTORY="$Le_API"
#reload ca configs #reload ca configs
ACCOUNT_KEY_PATH=""
ACCOUNT_JSON_PATH=""
CA_CONF=""
_debug2 "initpath again." _debug2 "initpath again."
_initpath "$Le_Domain" "$_isEcc" _initpath "$Le_Domain" "$_isEcc"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment