From c2f05a6d57f24a5d183f695a4c4b5aac6e541681 Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Wed, 19 Nov 2025 01:56:02 -0300 Subject: [PATCH] Fix plan pkiAcme check --- .../services/certificate-profile/certificate-profile-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/certificate-profile/certificate-profile-service.ts b/backend/src/services/certificate-profile/certificate-profile-service.ts index 87063c6da..a5bd09b18 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" });