Browse Source

Merge b4f72454b6 into a1ea2a5aa6

pull/6464/merge
Jeff Wong 2 months ago
committed by GitHub
parent
commit
6bf554e1d3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 33
      acme.sh

33
acme.sh

@ -5473,20 +5473,25 @@ renew() {
. "$DOMAIN_CONF"
_debug Le_API "$Le_API"
case "$Le_API" in
"$CA_LETSENCRYPT_V2_TEST")
_info "Switching back to $CA_LETSENCRYPT_V2"
Le_API="$CA_LETSENCRYPT_V2"
;;
"$CA_BUYPASS_TEST")
_info "Switching back to $CA_BUYPASS"
Le_API="$CA_BUYPASS"
;;
"$CA_GOOGLE_TEST")
_info "Switching back to $CA_GOOGLE"
Le_API="$CA_GOOGLE"
;;
esac
if [ "$STAGE" ]; then
_info "Switching to $DEFAULT_STAGING_CA"
$Le_API="$DEFAULT_STAGING_CA"
else
case "$Le_API" in
"$CA_LETSENCRYPT_V2_TEST")
_info "Switching back to $CA_LETSENCRYPT_V2"
Le_API="$CA_LETSENCRYPT_V2"
;;
"$CA_BUYPASS_TEST")
_info "Switching back to $CA_BUYPASS"
Le_API="$CA_BUYPASS"
;;
"$CA_GOOGLE_TEST")
_info "Switching back to $CA_GOOGLE"
Le_API="$CA_GOOGLE"
;;
esac
fi
if [ "$_server" ]; then
Le_API="$_server"

Loading…
Cancel
Save