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: remove unreachable profile guard in cert renewal
bernie-g6637d8c8abb2
diff --git a/backend/src/services/certificate-v3/certificate-v3-service.ts b/backend/src/services/certificate-v3/certificate-v3-service.tsindex 568ade7598..fdec21d490 100644--- a/backend/src/services/certificate-v3/certificate-v3-service.ts+++ b/backend/src/services/certificate-v3/certificate-v3-service.ts@@ -2333,11 +2333,8 @@ export const certificateV3ServiceFactory = ({const projectId = profile?.projectId || originalCert.projectId;if (originalCert.applicationId) {- if (!profile) {- throw new NotFoundError({ message: "Certificate profile not found" });- }await $resolveApplicationIdForProfile(- profile,+ profile!,originalCert.applicationId,{actor,