Skip to content

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

Fix plan pkiAcme check

Carlos Monastyrskic2f05a6d57f2
diff --git a/backend/src/services/certificate-profile/certificate-profile-service.ts b/backend/src/services/certificate-profile/certificate-profile-service.ts
index 87063c6dae..a5bd09b189 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) {
+ if (!plan.pkiAcme && data.enrollmentType === EnrollmentType.EST) {
throw new BadRequestError({
message: "Failed to create certificate profile: Plan restriction. Upgrade plan to continue"
});