Skip to content

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

Merge origin/main to feat/pki-sync-v2

Carlos Monastyrskic0654872b9b1
diff --cc frontend/src/components/pki-syncs/CertificateManagementModal.tsx
index fa199cb3a1,0000000000..760802b13a
mode 100644,000000..100644
--- a/frontend/src/components/pki-syncs/CertificateManagementModal.tsx
+++ b/frontend/src/components/pki-syncs/CertificateManagementModal.tsx
@@@ -1,434 -1,0 +1,434 @@@
+import React, { useEffect, useState } from "react";
+import { faSearch, faX } from "@fortawesome/free-solid-svg-icons";
+import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
+
+import { createNotification } from "@app/components/notifications";
+import {
- Badge,
+ Button,
+ Checkbox,
+ EmptyState,
+ Input,
+ Modal,
+ ModalContent,
+ Pagination,
+ Table,
+ TableContainer,
+ TBody,
+ Td,
+ Th,
+ THead,
+ Tr
+} from "@app/components/v2";
++import { Badge } from "@app/components/v3";
+import { useProject } from "@app/context";
+import {
+ CertStatus,
+ useAddCertificatesToPkiSync,
+ useListPkiSyncCertificates,
+ useRemoveCertificatesFromPkiSync
+} from "@app/hooks/api";
+import { TPkiSync } from "@app/hooks/api/pkiSyncs";
+import { useListWorkspaceCertificates } from "@app/hooks/api/projects";
+
+type Props = {
+ isOpen: boolean;
+ onClose: () => void;
+ pkiSync?: TPkiSync;
+ onCertificatesUpdated?: () => void;
+ selectedCertificateIds?: string[];
+ onCertificateSelectionChange?: (certificateIds: string[]) => void;
+ title?: string;
+ subtitle?: string;
+ saveButtonText?: string;
+};
+
+export const CertificateManagementModal = ({
+ isOpen,
+ onClose,
+ pkiSync,
+ onCertificatesUpdated,
+ selectedCertificateIds,
+ onCertificateSelectionChange,
+ title = "Manage Certificate Sync",
+ subtitle = "Select which certificates should be synced.",
+ saveButtonText = "Save Changes"
+}: Props) => {
+ const { currentProject } = useProject();
+ const [currentPage, setCurrentPage] = useState(1);
+ const [searchTerm, setSearchTerm] = useState("");
+ const [debouncedSearchTerm, setDebouncedSearchTerm] = useState("");
+ const pageSize = 10;
+
+ const isCreateMode = !pkiSync;
+
+ useEffect(() => {
+ const handler = setTimeout(() => {
+ setDebouncedSearchTerm(searchTerm);
+ setCurrentPage(1);
+ }, 300);
+
+ return () => {
+ clearTimeout(handler);
+ };
+ }, [searchTerm]);
+
+ const { data } = useListWorkspaceCertificates({
+ projectId: currentProject?.id || "",
+ offset: (currentPage - 1) * pageSize,
+ limit: pageSize,
+ commonName: debouncedSearchTerm || undefined,
+ friendlyName: debouncedSearchTerm || undefined,
+ forPkiSync: true
+ });
+
+ const allCertificates = data?.certificates || [];
+ const totalCount = data?.totalCount || 0;
+
+ const { data: syncData } = useListPkiSyncCertificates(pkiSync?.id || "");
+ const syncCertificates = syncData?.certificates || [];
+ const addCertificatesToSync = useAddCertificatesToPkiSync();
+ const removeCertificatesFromSync = useRemoveCertificatesFromPkiSync();
+
+ const syncedCertificateIds = isCreateMode
+ ? selectedCertificateIds || []
+ : syncCertificates.map((sc) => sc.certificateId);
+
+ const totalPages = Math.ceil(totalCount / pageSize);
+
+ const [selectedIds, setSelectedIds] = useState<string[]>([]);
+
+ React.useEffect(() => {
+ setSelectedIds(syncedCertificateIds);
+ }, [JSON.stringify(syncedCertificateIds)]);
+
+ const handleToggleSelection = (certId: string) => {
+ setSelectedIds((prev) =>
+ prev.includes(certId) ? prev.filter((id) => id !== certId) : [...prev, certId]
+ );
+ };
+
+ const handleSelectAll = () => {
+ const currentPageIds = allCertificates.map((cert) => cert.id);
+ const allCurrentPageSelected = currentPageIds.every((id) => selectedIds.includes(id));
+
+ if (allCurrentPageSelected) {
+ setSelectedIds((prev) => prev.filter((id) => !currentPageIds.includes(id)));
+ } else {
+ setSelectedIds((prev) => [...new Set([...prev, ...currentPageIds])]);
+ }
+ };
+
+ const clearSearch = () => {
+ setSearchTerm("");
+ setCurrentPage(1);
+ };
+
+ React.useEffect(() => {
+ if (isOpen) {
+ setCurrentPage(1);
+ setSearchTerm("");
+ }
+ }, [isOpen]);
+
+ const handleSaveCertificates = async () => {
+ try {
+ if (isCreateMode) {
+ if (onCertificateSelectionChange) {
+ onCertificateSelectionChange(selectedIds);
+ onClose();
+ }
+ return;
+ }
+
+ if (!pkiSync) return;
+
+ const certificatesToAdd = selectedIds.filter((id) => !syncedCertificateIds.includes(id));
+ const certificatesToRemove = syncedCertificateIds.filter((id) => !selectedIds.includes(id));
+
+ const invalidCertificates = certificatesToAdd
+ .map((id) => allCertificates.find((cert) => cert.id === id))
+ .filter((cert) => {
+ if (!cert) return false;
+ const isExpired = new Date(cert.notAfter) < new Date();
+ const isRevoked = cert.status === CertStatus.REVOKED;
+ return isExpired || isRevoked;
+ });
+
+ if (invalidCertificates.length > 0) {
+ const invalidNames = invalidCertificates.map((cert) => cert?.commonName).join(", ");
+ createNotification({
+ text: `Cannot add expired or revoked certificates: ${invalidNames}`,
+ type: "error"
+ });
+ return;
+ }
+
+ const operations = [];
+
+ if (certificatesToAdd.length > 0) {
+ operations.push(
+ addCertificatesToSync
+ .mutateAsync({
+ pkiSyncId: pkiSync.id,
+ certificateIds: certificatesToAdd
+ })
+ .then(() => ({
+ type: "add",
+ count: certificatesToAdd.length,
+ success: true
+ }))
+ .catch((error) => ({
+ type: "add",
+ count: certificatesToAdd.length,
+ success: false,
+ error
+ }))
+ );
+ }
+
+ if (certificatesToRemove.length > 0) {
+ operations.push(
+ removeCertificatesFromSync
+ .mutateAsync({
+ pkiSyncId: pkiSync.id,
+ certificateIds: certificatesToRemove
+ })
+ .then(() => ({
+ type: "remove",
+ count: certificatesToRemove.length,
+ success: true
+ }))
+ .catch((error) => ({
+ type: "remove",
+ count: certificatesToRemove.length,
+ success: false,
+ error
+ }))
+ );
+ }
+
+ if (operations.length === 0) {
+ createNotification({
+ text: "No changes to save",
+ type: "info"
+ });
+ onClose();
+ return;
+ }
+
+ const results = await Promise.all(operations);
+ const failures = results.filter((r) => !r.success);
+ const successes = results.filter((r) => r.success);
+
+ if (failures.length === 0) {
+ const addCount = successes.find((r) => r.type === "add")?.count || 0;
+ const removeCount = successes.find((r) => r.type === "remove")?.count || 0;
+
+ let message = "Certificate selection updated successfully";
+ if (addCount > 0 && removeCount > 0) {
+ message = `Added ${addCount} and removed ${removeCount} certificate(s)`;
+ } else if (addCount > 0) {
+ message = `Added ${addCount} certificate(s)`;
+ } else if (removeCount > 0) {
+ message = `Removed ${removeCount} certificate(s)`;
+ }
+
+ createNotification({
+ text: message,
+ type: "success"
+ });
+
+ if (onCertificatesUpdated) {
+ onCertificatesUpdated();
+ }
+ onClose();
+ } else {
+ const partialSuccess = successes.length > 0;
+ console.error("Certificate sync operation failures:", failures);
+
+ createNotification({
+ text: partialSuccess
+ ? "Some certificate changes failed. Check console for details."
+ : "Failed to update certificate selection",
+ type: partialSuccess ? "warning" : "error"
+ });
+
+ if (partialSuccess && onCertificatesUpdated) {
+ onCertificatesUpdated();
+ }
+ }
+ } catch (error) {
+ console.error("Unexpected error during certificate sync operation:", error);
+ createNotification({
+ text: "An unexpected error occurred while updating certificates",
+ type: "error"
+ });
+ }
+ };
+
+ const isLoading = addCertificatesToSync.isPending || removeCertificatesFromSync.isPending;
+
+ return (
+ <Modal isOpen={isOpen} onOpenChange={(open) => !open && onClose()}>
+ <ModalContent title={title} subTitle={subtitle} className="max-w-4xl">
+ <div className="space-y-4">
+ <div className="space-y-3">
+ <div className="relative">
+ <Input
+ placeholder="Search by common name, serial number, or SAN..."
+ value={searchTerm}
+ onChange={(e) => {
+ setSearchTerm(e.target.value);
+ setCurrentPage(1);
+ }}
+ className="pl-9"
+ />
+ <FontAwesomeIcon
+ icon={faSearch}
+ className="absolute top-1/2 left-3 h-3 w-3 -translate-y-1/2 transform text-bunker-300"
+ />
+ {searchTerm && (
+ <button
+ type="button"
+ onClick={clearSearch}
+ className="absolute top-1/2 right-3 -translate-y-1/2 transform text-bunker-300 hover:text-bunker-100"
+ >
+ <FontAwesomeIcon icon={faX} className="h-3 w-3" />
+ </button>
+ )}
+ </div>
+ </div>
+
+ {allCertificates.length === 0 ? (
+ <EmptyState title="No certificates found">
+ {searchTerm
+ ? "No certificates match your search criteria."
+ : "No certificates available for sync."}
+ </EmptyState>
+ ) : (
+ <>
+ <TableContainer>
+ <Table>
+ <THead>
+ <Tr>
+ <Th className="w-12">
+ <Checkbox
+ id="select-all-certificates"
+ isChecked={
+ allCertificates.length > 0 &&
+ allCertificates.every((cert) => selectedIds.includes(cert.id))
+ }
+ onCheckedChange={handleSelectAll}
+ />
+ </Th>
+ <Th className="w-1/3">Common Name</Th>
+ <Th className="w-1/3">Serial Number</Th>
+ <Th className="w-1/6">Status</Th>
+ <Th className="w-2/6">Expires</Th>
+ </Tr>
+ </THead>
+ <TBody>
+ {allCertificates.map((cert) => {
+ const isExpired = new Date(cert.notAfter) < new Date();
+ const isRevoked = cert.status === CertStatus.REVOKED;
+ const cannotBeAdded = isExpired || isRevoked;
+ const isAlreadySynced = syncedCertificateIds.includes(cert.id);
+
+ return (
+ <Tr
+ key={cert.id}
+ className={`cursor-pointer hover:bg-mineshaft-700 ${
+ cannotBeAdded && !isAlreadySynced ? "opacity-50" : ""
+ }`}
+ onClick={() => {
+ if (!cannotBeAdded || isAlreadySynced) {
+ handleToggleSelection(cert.id);
+ }
+ }}
+ >
+ <Td className="max-w-0">
+ <Checkbox
+ id={cert.id}
+ isChecked={selectedIds.includes(cert.id)}
+ onCheckedChange={() => {
+ if (!cannotBeAdded || isAlreadySynced) {
+ handleToggleSelection(cert.id);
+ }
+ }}
+ isDisabled={cannotBeAdded && !isAlreadySynced}
+ />
+ </Td>
+ <Td className="max-w-0">
+ <div className="truncate" title={cert.commonName}>
+ {cert.commonName}
+ </div>
+ </Td>
+ <Td className="max-w-0">
+ <div
+ className="truncate font-mono text-xs text-bunker-300"
+ title={cert.serialNumber}
+ >
+ {cert.serialNumber}
+ </div>
+ </Td>
+ <Td className="max-w-0">
+ <Badge
+ variant={
+ cert.status === CertStatus.ACTIVE && !isExpired
+ ? "success"
+ : "danger"
+ }
+ >
+ {(() => {
+ if (isRevoked) return "Revoked";
+ if (isExpired) return "Expired";
+ return cert.status === CertStatus.ACTIVE ? "Active" : cert.status;
+ })()}
+ </Badge>
+ </Td>
+ <Td className="max-w-0">
+ <span
+ className={`text-sm ${isExpired ? "text-red-400" : "text-bunker-300"}`}
+ >
+ {new Date(cert.notAfter).toLocaleDateString()}
+ </span>
+ </Td>
+ </Tr>
+ );
+ })}
+ </TBody>
+ </Table>
+ </TableContainer>
+
+ {totalPages > 1 && (
+ <div className="mt-4 flex justify-center">
+ <Pagination
+ count={totalCount}
+ page={currentPage}
+ perPage={pageSize}
+ onChangePage={(page: number) => setCurrentPage(page)}
+ onChangePerPage={() => {}}
+ />
+ </div>
+ )}
+ </>
+ )}
+ </div>
+
+ <div className="mt-6 flex justify-end gap-2">
+ <Button variant="outline_bg" onClick={onClose}>
+ Cancel
+ </Button>
+ <Button
+ variant="solid"
+ colorSchema="primary"
+ onClick={handleSaveCertificates}
+ isLoading={isLoading}
+ >
+ {saveButtonText}
+ </Button>
+ </div>
+ </ModalContent>
+ </Modal>
+ );
+};
diff --cc frontend/src/components/pki-syncs/forms/PkiSyncReviewFields.tsx
index 060a5e7151,43ee38e52a..8119ac23a9
--- a/frontend/src/components/pki-syncs/forms/PkiSyncReviewFields.tsx
+++ b/frontend/src/components/pki-syncs/forms/PkiSyncReviewFields.tsx
@@@ -1,9 -1,10 +1,10 @@@
import { useFormContext } from "react-hook-form";
- import { Badge, GenericFieldLabel } from "@app/components/v2";
+ import { GenericFieldLabel } from "@app/components/v2";
+ import { Badge } from "@app/components/v3";
import { useProject } from "@app/context";
import { PKI_SYNC_MAP } from "@app/helpers/pkiSyncs";
-import { useListWorkspacePkiSubscribers } from "@app/hooks/api";
+import { useListWorkspaceCertificates } from "@app/hooks/api/projects";
import { TPkiSyncForm } from "./schemas/pki-sync-schema";
diff --cc frontend/src/const/routes.ts
index c9a6b326df,c9a6b326df..5f199443d7
--- a/frontend/src/const/routes.ts
+++ b/frontend/src/const/routes.ts
@@@ -301,10 -301,10 +301,6 @@@ export const ROUTE_PATHS = Object.freez
"/projects/cert-management/$projectId/subscribers",
"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/subscribers"
),
-- CertificatesPage: setRoute(
-- "/projects/cert-management/$projectId/certificates",
-- "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificates"
-- ),
CertificateAuthoritiesPage: setRoute(
"/projects/cert-management/$projectId/certificate-authorities",
"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificate-authorities"
diff --cc frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx
index 194ae57899,500286d672..405b5d7f18
--- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx
+++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx
@@@ -5,8 -5,6 +5,7 @@@ import
faEllipsis,
faEye,
faFileExport,
+ faLink,
- faQuestionCircle,
faRedo,
faTrash
} from "@fortawesome/free-solid-svg-icons";
diff --cc frontend/src/pages/cert-manager/PkiSyncDetailsByIDPage/components/PkiSyncCertificatesSection.tsx
index 11b59b6ab8,0000000000..b9c243bc4f
mode 100644,000000..100644
--- a/frontend/src/pages/cert-manager/PkiSyncDetailsByIDPage/components/PkiSyncCertificatesSection.tsx
+++ b/frontend/src/pages/cert-manager/PkiSyncDetailsByIDPage/components/PkiSyncCertificatesSection.tsx
@@@ -1,223 -1,0 +1,223 @@@
+import { useState } from "react";
+import { subject } from "@casl/ability";
+import { faEdit, faPlus, faTrash } from "@fortawesome/free-solid-svg-icons";
+import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
+
+import { createNotification } from "@app/components/notifications";
+import { ProjectPermissionCan } from "@app/components/permissions";
+import { CertificateManagementModal } from "@app/components/pki-syncs/CertificateManagementModal";
+import {
- Badge,
+ EmptyState,
+ IconButton,
+ Pagination,
+ Table,
+ TableContainer,
+ TBody,
+ Td,
+ Th,
+ THead,
+ Tooltip,
+ Tr
+} from "@app/components/v2";
++import { Badge } from "@app/components/v3";
+import { ProjectPermissionSub } from "@app/context";
+import { ProjectPermissionPkiSyncActions } from "@app/context/ProjectPermissionContext/types";
+import { useListPkiSyncCertificates, useRemoveCertificatesFromPkiSync } from "@app/hooks/api";
+import { CertificateSyncStatus, TPkiSync } from "@app/hooks/api/pkiSyncs";
+
+type Props = {
+ pkiSync: TPkiSync;
+};
+
+const getSyncStatusVariant = (status?: CertificateSyncStatus | null) => {
+ if (status === CertificateSyncStatus.Succeeded) return "success";
+ if (status === CertificateSyncStatus.Failed) return "danger";
- if (status === CertificateSyncStatus.Syncing) return "primary";
++ if (status === CertificateSyncStatus.Syncing) return "neutral";
+ return "project";
+};
+
+const getSyncStatusText = (status?: CertificateSyncStatus | null) => {
+ if (status === CertificateSyncStatus.Succeeded) return "Synced";
+ if (status === CertificateSyncStatus.Failed) return "Failed";
+ if (status === CertificateSyncStatus.Syncing) return "Syncing";
+ if (status === CertificateSyncStatus.Pending) return "Pending";
+ return "Unknown";
+};
+
+export const PkiSyncCertificatesSection = ({ pkiSync }: Props) => {
+ const [isManageModalOpen, setIsManageModalOpen] = useState(false);
+ const [currentPage, setCurrentPage] = useState(1);
+ const pageSize = 10;
+
+ const { data, refetch: refetchSyncCertificates } = useListPkiSyncCertificates(pkiSync.id, {
+ offset: (currentPage - 1) * pageSize,
+ limit: pageSize
+ });
+ const syncCertificates = data?.certificates || [];
+ const totalCount = data?.totalCount || 0;
+ const removeCertificatesFromSync = useRemoveCertificatesFromPkiSync();
+
+ const permissionSubject = subject(ProjectPermissionSub.PkiSyncs, {
+ subscriberId: pkiSync.subscriberId || ""
+ });
+
+ const handleRemoveCertificate = async (certificateId: string) => {
+ try {
+ await removeCertificatesFromSync.mutateAsync({
+ pkiSyncId: pkiSync.id,
+ certificateIds: [certificateId]
+ });
+
+ await refetchSyncCertificates();
+
+ createNotification({
+ text: "Certificate removed from sync",
+ type: "success"
+ });
+ } catch {
+ createNotification({
+ text: "Failed to remove certificate from sync",
+ type: "error"
+ });
+ }
+ };
+
+ const totalPages = Math.ceil(totalCount / pageSize);
+
+ return (
+ <div>
+ <div className="flex w-full flex-col gap-3 rounded-lg border border-mineshaft-600 bg-mineshaft-900 px-4 py-3">
+ <div className="flex items-center justify-between border-b border-mineshaft-400 pb-2">
+ <h3 className="font-medium text-mineshaft-100">Certificates ({totalCount})</h3>
+ <ProjectPermissionCan I={ProjectPermissionPkiSyncActions.Edit} a={permissionSubject}>
+ {(isAllowed) => (
+ <IconButton
+ variant="plain"
+ colorSchema="secondary"
+ isDisabled={!isAllowed}
+ ariaLabel="Edit certificates"
+ onClick={() => setIsManageModalOpen(true)}
+ >
+ <FontAwesomeIcon icon={faEdit} />
+ </IconButton>
+ )}
+ </ProjectPermissionCan>
+ </div>
+
+ <div>
+ {syncCertificates.length === 0 ? (
+ <EmptyState title="No certificates" icon={faPlus}>
+ No certificates are currently synced with this PKI destination.
+ </EmptyState>
+ ) : (
+ <div className="space-y-4">
+ <TableContainer>
+ <Table>
+ <THead>
+ <Tr>
+ <Th className="w-1/3">Common Name</Th>
+ <Th className="w-1/3">Serial Number</Th>
+ <Th className="w-1/9">Status</Th>
+ <Th className="w-1/9">Expires</Th>
+ <Th className="w-1/9">Actions</Th>
+ </Tr>
+ </THead>
+ <TBody>
+ {syncCertificates.map((syncCert) => {
+ const isExpired = syncCert.certificateNotAfter
+ ? new Date(syncCert.certificateNotAfter) < new Date()
+ : false;
+
+ return (
+ <Tr key={syncCert.id}>
+ <Td className="max-w-0">
+ <div
+ className="truncate"
+ title={syncCert.certificateCommonName || "Unknown"}
+ >
+ {syncCert.certificateCommonName || "Unknown"}
+ </div>
+ </Td>
+ <Td className="max-w-0">
+ <div
+ className="truncate text-xs"
+ title={syncCert.certificateSerialNumber || "Unknown"}
+ >
+ {syncCert.certificateSerialNumber || "Unknown"}
+ </div>
+ </Td>
+ <Td>
+ {syncCert.lastSyncMessage &&
+ syncCert.syncStatus === CertificateSyncStatus.Failed ? (
+ <Tooltip content={syncCert.lastSyncMessage}>
+ <Badge variant="danger">Failed</Badge>
+ </Tooltip>
+ ) : (
+ <Badge variant={getSyncStatusVariant(syncCert.syncStatus)}>
+ {getSyncStatusText(syncCert.syncStatus)}
+ </Badge>
+ )}
+ </Td>
+ <Td>
+ <span
+ className={`text-sm ${isExpired ? "text-red-400" : "text-bunker-300"}`}
+ >
+ {syncCert.certificateNotAfter
+ ? new Date(syncCert.certificateNotAfter).toLocaleDateString()
+ : "Unknown"}
+ </span>
+ </Td>
+ <Td className="flex items-center">
+ <ProjectPermissionCan
+ I={ProjectPermissionPkiSyncActions.Edit}
+ a={permissionSubject}
+ >
+ {(isAllowed) => (
+ <IconButton
+ size="xs"
+ variant="plain"
+ colorSchema="danger"
+ ariaLabel="Remove certificate"
+ isDisabled={!isAllowed}
+ onClick={() => handleRemoveCertificate(syncCert.certificateId)}
+ >
+ <FontAwesomeIcon icon={faTrash} />
+ </IconButton>
+ )}
+ </ProjectPermissionCan>
+ </Td>
+ </Tr>
+ );
+ })}
+ </TBody>
+ </Table>
+ </TableContainer>
+
+ {/* Pagination */}
+ {totalPages > 1 && (
+ <div className="flex justify-center">
+ <Pagination
+ count={totalCount}
+ page={currentPage}
+ perPage={pageSize}
+ onChangePage={(page: number) => setCurrentPage(page)}
+ onChangePerPage={() => {}}
+ />
+ </div>
+ )}
+ </div>
+ )}
+ </div>
+ </div>
+
+ <CertificateManagementModal
+ pkiSync={pkiSync}
+ isOpen={isManageModalOpen}
+ onClose={() => setIsManageModalOpen(false)}
+ onCertificatesUpdated={() => {
+ refetchSyncCertificates();
+ }}
+ />
+ </div>
+ );
+};
diff --cc frontend/src/routeTree.gen.ts
index 6dc265c437,34c4153d6f..4c6558db97
--- a/frontend/src/routeTree.gen.ts
+++ b/frontend/src/routeTree.gen.ts
@@@ -5760,7 -5780,7 +5760,6 @@@ export interface FileRouteTypes
| '/organization/app-connections/$appConnection/oauth/callback'
| '/projects/cert-management/$projectId/alerting'
| '/projects/cert-management/$projectId/certificate-authorities'
-- | '/projects/cert-management/$projectId/certificates'
| '/projects/cert-management/$projectId/policies'
| '/projects/cert-management/$projectId/settings'
| '/projects/kms/$projectId/kmip'
@@@ -5992,7 -6012,7 +5991,6 @@@
| '/organization/app-connections/$appConnection/oauth/callback'
| '/projects/cert-management/$projectId/alerting'
| '/projects/cert-management/$projectId/certificate-authorities'
-- | '/projects/cert-management/$projectId/certificates'
| '/projects/cert-management/$projectId/policies'
| '/projects/cert-management/$projectId/settings'
| '/projects/kms/$projectId/kmip'
@@@ -6234,7 -6254,7 +6232,6 @@@
| '/_authenticate/_inject-org-details/_org-layout/organization/app-connections/$appConnection/oauth/callback'
| '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/alerting'
| '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificate-authorities'
-- | '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificates'
| '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/policies'
| '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/settings'
| '/_authenticate/_inject-org-details/_org-layout/projects/kms/$projectId/_kms-layout/kmip'
@@@ -6870,7 -6890,7 +6867,6 @@@ export const routeTree = rootRout
"children": [
"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/alerting",
"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificate-authorities",
-- "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificates",
"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/policies",
"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/settings",
"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/access-management",
@@@ -6985,10 -7005,10 +6981,6 @@@
"filePath": "cert-manager/CertificateAuthoritiesPage/route.tsx",
"parent": "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout"
},
-- "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificates": {
-- "filePath": "cert-manager/CertificatesPage/route.tsx",
-- "parent": "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout"
-- },
"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/policies": {
"filePath": "cert-manager/PoliciesPage/route.tsx",
"parent": "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout"
diff --cc frontend/src/routes.ts
index 16bdaf10f1,16bdaf10f1..cc37f30318
--- a/frontend/src/routes.ts
+++ b/frontend/src/routes.ts
@@@ -304,7 -304,7 +304,6 @@@ const certManagerRoutes = route("/proje
route("/$subscriberName", "cert-manager/PkiSubscriberDetailsByIDPage/route.tsx")
]),
route("/certificate-templates", [index("cert-manager/PkiTemplateListPage/route.tsx")]),
-- route("/certificates", "cert-manager/CertificatesPage/route.tsx"),
route("/certificate-authorities", "cert-manager/CertificateAuthoritiesPage/route.tsx"),
route("/alerting", "cert-manager/AlertingPage/route.tsx"),
route("/ca/$caName", "cert-manager/CertAuthDetailsByIDPage/route.tsx"),