Browse Source
Force switch to default staging CA when staging flag is detected.
pull/6464/head
Jeff Wong
3 months ago
No known key found for this signature in database
GPG Key ID: D4EEB78E484F8A83
1 changed files with
4 additions and
1 deletions
-
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" |
|
|
|
|