Skip to content

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

Fix certificate profile CA selector to display the CA name

Carlos Monastyrski0ec7fac962ef
diff --git a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx
index e12c174063..8ab083e33d 100644
--- a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx
+++ b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx
@@ -1151,11 +1151,7 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }
onChange("");
}
}}
- getOptionLabel={(ca) =>
- ca.type === "internal" && ca.configuration.friendlyName
- ? ca.configuration.friendlyName
- : ca.name
- }
+ getOptionLabel={(ca) => ca.name}
getOptionValue={(ca) => ca.id}
options={certificateAuthorities}
groupBy="groupType"