Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fix TTL error
Fang-Pen Line6d2067c6ac8
diff --git a/backend/src/ee/services/pki-acme/pki-acme-service.ts b/backend/src/ee/services/pki-acme/pki-acme-service.tsindex 923ac94b40..fa0d0ff668 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