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 wrong enrollmentType on condition
Carlos Monastyrski3bf0656d87c7
diff --git a/backend/src/services/certificate-profile/certificate-profile-service.ts b/backend/src/services/certificate-profile/certificate-profile-service.tsindex a5bd09b189..12e272ad65 100644--- a/backend/src/services/certificate-profile/certificate-profile-service.ts+++ b/backend/src/services/certificate-profile/certificate-profile-service.ts@@ -213,7 +213,7 @@ export const certificateProfileServiceFactory = ({throw new NotFoundError({ message: "Project not found" });}const plan = await licenseService.getPlan(project.orgId);- if (!plan.pkiAcme && data.enrollmentType === EnrollmentType.EST) {+ if (!plan.pkiAcme && data.enrollmentType === EnrollmentType.ACME) {throw new BadRequestError({message: "Failed to create certificate profile: Plan restriction. Upgrade plan to continue"});