Browse Source
Fix: do not add "replaces: <previous cert id>" in Order when --force
pull/6548/head
Simon V.
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
acme.sh
|
|
@ -4714,7 +4714,7 @@ issue() { |
|
|
_newOrderObj="$_newOrderObj,\"notAfter\": \"$_notAfter\"" |
|
|
_newOrderObj="$_newOrderObj,\"notAfter\": \"$_notAfter\"" |
|
|
fi |
|
|
fi |
|
|
Le_RenewalInfoCertId=$(_readdomainconf "Le_RenewalInfoCertId") |
|
|
Le_RenewalInfoCertId=$(_readdomainconf "Le_RenewalInfoCertId") |
|
|
if [ "$_ACME_IS_RENEW" ] && [ -n "$Le_EnableRenewalInfo" ] && [ "$Le_EnableRenewalInfo" -eq "1" ] && [ -n "$Le_RenewalInfoCertId" ]; then |
|
|
|
|
|
|
|
|
if [ -z "$FORCE" ] && [ "$_ACME_IS_RENEW" ] && [ -n "$Le_EnableRenewalInfo" ] && [ "$Le_EnableRenewalInfo" -eq "1" ] && [ -n "$Le_RenewalInfoCertId" ]; then |
|
|
_newOrderObj="$_newOrderObj,\"replaces\": \"$Le_RenewalInfoCertId\"" |
|
|
_newOrderObj="$_newOrderObj,\"replaces\": \"$Le_RenewalInfoCertId\"" |
|
|
fi |
|
|
fi |
|
|
if [ "$_certificate_profile" ]; then |
|
|
if [ "$_certificate_profile" ]; then |
|
|
|