Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Add log

Fang-Pen Lina2774bd18e71
diff --git a/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts b/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts
index f477d09775..74434f8814 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts
@@ -114,6 +114,10 @@ export const pkiAcmeChallengeServiceFactory = ({
await acmeChallengeDAL.markAsValidCascadeById(challengeId);
} catch (exp) {
if (retryCount >= 2) {
+ logger.error(
+ exp,
+ `Last attempt to validate ACME challenge response failed, marking ${challengeId} challenge as invalid`
+ );
// This is the last attempt to validate the challenge response, if it fails, we mark the challenge as invalid
await acmeChallengeDAL.markAsInvalidCascadeById(challengeId);
}