Skip to content

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

feat: correcterd pki numbering

=2d7682fdd971
diff --git a/backend/src/ee/services/pki-acme/pki-acme-queue.ts b/backend/src/ee/services/pki-acme/pki-acme-queue.ts
index de77628006..d7f739ca24 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-queue.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-queue.ts
@@ -20,7 +20,7 @@ export const pkiAcmeQueueServiceFactory = async ({
queueService.start(QueueName.PkiAcmeChallengeValidation, async (job) => {
const { challengeId } = job.data;
- const retryCount = job.attemptsMade || 0;
+ const retryCount = job.attemptsMade + 1;
try {
logger.info({ challengeId, retryCount }, "Processing ACME challenge validation job");
await acmeChallengeService.validateChallengeResponse(challengeId, retryCount);