mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-05-18 20:03:55 +08:00
don't switch from test back to production ca
This commit is contained in:
21
acme.sh
21
acme.sh
@@ -5555,16 +5555,17 @@ renew() {
|
|||||||
. "$DOMAIN_CONF"
|
. "$DOMAIN_CONF"
|
||||||
_debug Le_API "$Le_API"
|
_debug Le_API "$Le_API"
|
||||||
|
|
||||||
case "$Le_API" in
|
#don't switch it back
|
||||||
"$CA_LETSENCRYPT_V2_TEST")
|
# case "$Le_API" in
|
||||||
_info "Switching back to $CA_LETSENCRYPT_V2"
|
# "$CA_LETSENCRYPT_V2_TEST")
|
||||||
Le_API="$CA_LETSENCRYPT_V2"
|
# _info "Switching back to $CA_LETSENCRYPT_V2"
|
||||||
;;
|
# Le_API="$CA_LETSENCRYPT_V2"
|
||||||
"$CA_GOOGLE_TEST")
|
# ;;
|
||||||
_info "Switching back to $CA_GOOGLE"
|
# "$CA_GOOGLE_TEST")
|
||||||
Le_API="$CA_GOOGLE"
|
# _info "Switching back to $CA_GOOGLE"
|
||||||
;;
|
# Le_API="$CA_GOOGLE"
|
||||||
esac
|
# ;;
|
||||||
|
# esac
|
||||||
|
|
||||||
if [ "$_server" ]; then
|
if [ "$_server" ]; then
|
||||||
Le_API="$_server"
|
Le_API="$_server"
|
||||||
|
|||||||
Reference in New Issue
Block a user