Browse Source

Force switch to default staging CA when staging flag is detected.

pull/6464/head
Jeff Wong 3 months ago
parent
commit
b4f72454b6
No known key found for this signature in database GPG Key ID: D4EEB78E484F8A83
  1. 5
      acme.sh

5
acme.sh

@ -5454,7 +5454,10 @@ renew() {
. "$DOMAIN_CONF"
_debug Le_API "$Le_API"
if [ -z "$STAGE" ]; then
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"

Loading…
Cancel
Save