From e6d2067c6ac80b2ee7e480ae4d8753cd6af5b6dd Mon Sep 17 00:00:00 2001 From: Fang-Pen Lin Date: Mon, 10 Nov 2025 15:46:10 -0800 Subject: [PATCH] Fix TTL error --- backend/src/ee/services/pki-acme/pki-acme-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/ee/services/pki-acme/pki-acme-service.ts b/backend/src/ee/services/pki-acme/pki-acme-service.ts index 923ac94b4..fa0d0ff66 100644 --- a/backend/src/ee/services/pki-acme/pki-acme-service.ts +++ b/backend/src/ee/services/pki-acme/pki-acme-service.ts @@ -643,10 +643,10 @@ export const pkiAcmeServiceFactory = ({ ? { // 47 days, the default TTL comes with Let's Encrypt // TODO: read config from the profile to get the expiration time instead - ttl: `${47 * 24 * 60}m` + ttl: `${47}d` } : // ttl is not used if notAfter is provided - ({ ttl: "0m" } as const), + ({ ttl: "0d" } as const), enrollmentType: EnrollmentType.ACME }); // TODO: associate the certificate with the order