use letsencrypt server to renew certs if no server was saved.
This commit is contained in:
parent
208c330da1
commit
c19446f696
5
acme.sh
5
acme.sh
@ -5045,6 +5045,11 @@ renew() {
|
|||||||
|
|
||||||
. "$DOMAIN_CONF"
|
. "$DOMAIN_CONF"
|
||||||
_debug Le_API "$Le_API"
|
_debug Le_API "$Le_API"
|
||||||
|
if [ -z "$Le_API" ]; then
|
||||||
|
#if this is from an old version, Le_API is empty,
|
||||||
|
#so, we force to use letsencrypt server
|
||||||
|
Le_API="$CA_LETSENCRYPT_V2"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$Le_API" ]; then
|
if [ "$Le_API" ]; then
|
||||||
if [ "$Le_API" != "$ACME_DIRECTORY" ]; then
|
if [ "$Le_API" != "$ACME_DIRECTORY" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user