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(pki): allow revoking imported certs under a DigiCert profile (#8381)
Saif Ur Rahmanf9b6de246988
diff --git a/backend/src/services/certificate/certificate-service.ts b/backend/src/services/certificate/certificate-service.tsindex b5c04ddea0..4a6cb2e32d 100644--- a/backend/src/services/certificate/certificate-service.ts+++ b/backend/src/services/certificate/certificate-service.ts@@ -706,7 +706,7 @@ export const certificateServiceFactory = ({if (cert.status === CertStatus.REVOKED) throw new Error("Certificate already revoked");- if (ca.internalCa && cert.profileId && cert.source === CertificateSource.Imported) {+ if (ca.internalCa?.id && cert.profileId && cert.source === CertificateSource.Imported) {const certBody = await certificateBodyDAL.findOne({ certId: cert.id });if (!certBody) {throw new NotFoundError({ message: "Certificate body not found" });