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
parent
commit
424be383c2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      acme.sh

2
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

Loading…
Cancel
Save