Skip to content

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

small tweaks

x01e13ca7bd51
diff --git a/backend/src/services/certificate/certificate-service.ts b/backend/src/services/certificate/certificate-service.ts
index 9ead0fd6fc..ae3a96d60a 100644
--- a/backend/src/services/certificate/certificate-service.ts
+++ b/backend/src/services/certificate/certificate-service.ts
@@ -275,7 +275,6 @@ export const certificateServiceFactory = ({
if (pkiCollection.projectId !== projectId) throw new BadRequestError({ message: "Invalid PKI collection" });
}
- // Parse the certificate
const leafCert = new x509.X509Certificate(certificatePem);
// Verify the certificate chain
diff --git a/frontend/src/hooks/api/certificates/mutations.tsx b/frontend/src/hooks/api/certificates/mutations.tsx
index 88cdc3c384..f231b79637 100644
--- a/frontend/src/hooks/api/certificates/mutations.tsx
+++ b/frontend/src/hooks/api/certificates/mutations.tsx
@@ -56,7 +56,6 @@ export const useImportCertificate = () => {
const queryClient = useQueryClient();
return useMutation<TImportCertificateResponse, object, TImportCertificateDTO>({
mutationFn: async (body) => {
- console.log("DBG-1");
const { data } = await apiRequest.post<TImportCertificateResponse>(
"/api/v1/pki/certificates/import-certificate",
body
diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportModal.tsx b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportModal.tsx
index 6bba7a8624..1272b067c6 100644
--- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportModal.tsx
+++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportModal.tsx
@@ -120,7 +120,7 @@ export const CertificateImportModal = ({ popUp, handlePopUpToggle }: Props) => {
setCertificateDetails(null);
}}
>
- <ModalContent title={`${cert ? "View" : "Issue"} Certificate`}>
+ <ModalContent title={`${cert ? "View" : "Import"} Certificate`}>
{!certificateDetails ? (
<form onSubmit={handleSubmit(onFormSubmit)}>
<Controller