Skip to content

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

Remove allowEmptyCommonName flag

Fang-Pen Lin709b3d744904
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 9005d4bcee..69a6a648fe 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-service.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-service.ts
@@ -755,8 +755,7 @@ export const pkiAcmeServiceFactory = ({
}
: // ttl is not used if notAfter is provided
({ ttl: "0d" } as const),
- enrollmentType: EnrollmentType.ACME,
- allowEmptyCommonName: true
+ enrollmentType: EnrollmentType.ACME
});
return { certificateId: result.certificateId };
}