mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-27 15:31:43 +00:00
Update acme.sh
revert only when there is no `--server` specified.
This commit is contained in:
parent
439defca42
commit
6be2bb2289
2
acme.sh
2
acme.sh
@ -5271,6 +5271,7 @@ renew() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#revert from staging CAs back to production CAs
|
#revert from staging CAs back to production CAs
|
||||||
|
if [ -z "$ACME_DIRECTORY" ]; then
|
||||||
case "$Le_API" in
|
case "$Le_API" in
|
||||||
|
|
||||||
"$CA_LETSENCRYPT_V2_TEST")
|
"$CA_LETSENCRYPT_V2_TEST")
|
||||||
@ -5286,6 +5287,7 @@ renew() {
|
|||||||
Le_API="$CA_GOOGLE"
|
Le_API="$CA_GOOGLE"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$Le_API" ]; then
|
if [ "$Le_API" ]; then
|
||||||
if [ "$Le_API" != "$ACME_DIRECTORY" ]; then
|
if [ "$Le_API" != "$ACME_DIRECTORY" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user