use letsencrypt server to renew certs if no server was saved.

This commit is contained in:
neilpang committed 2021-06-28 21:16:32 +08:00
1 parent e0def66959
commit 2d07185300
1 file changed
+5
+5
View File
@@ -5043,6 +5043,11 @@ renew() {
. "$DOMAIN_CONF"
_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" != "$ACME_DIRECTORY" ]; then
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.