From e09230d78ecc8123292c15219ae934816c9f28ad Mon Sep 17 00:00:00 2001 From: Christopher Cook Date: Tue, 3 Dec 2024 08:01:39 +0800 Subject: [PATCH] ACME: discard ari replaces after any order error. --- src/Certify.Providers/ACME/Anvil/AnvilACMEProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Certify.Providers/ACME/Anvil/AnvilACMEProvider.cs b/src/Certify.Providers/ACME/Anvil/AnvilACMEProvider.cs index 13f7fc624..8b2565ee9 100644 --- a/src/Certify.Providers/ACME/Anvil/AnvilACMEProvider.cs +++ b/src/Certify.Providers/ACME/Anvil/AnvilACMEProvider.cs @@ -821,7 +821,7 @@ public async Task BeginCertificateOrder(ILog log, ManagedCertifica && managedCertificate.CertificateCurrentCA == managedCertificate.LastAttemptedCA && !string.IsNullOrWhiteSpace(managedCertificate.ARICertificateId) && managedCertificate.ARICertificateId.Contains(".") - && managedCertificate.RenewalFailureCount < 3 + && managedCertificate.RenewalFailureCount == 0 && !skipAriReplace ) {