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
Merge remote-tracking branch 'origin/main' into feat/PKI-281
Carlos Monastyrskic7ff0646541f
diff --cc frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaFields/AdcsFields.tsxindex fba75f1edf,0000000000..e2ed35e671mode 100644,000000..100644--- a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaFields/AdcsFields.tsx+++ b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaFields/AdcsFields.tsx@@@ -1,60 -1,0 +1,77 @@@+import { Control, Controller } from "react-hook-form";+import { Info } from "lucide-react";++import {+ Field,+ FieldError,+ FieldLabel,+ Input,+ Tooltip,+ TooltipContent,+ TooltipTrigger+} from "@app/components/v3";+import { TAvailableAppConnection } from "@app/hooks/api/appConnections";++import { AppConnectionSelectField } from "./AppConnectionSelectField";+import { FormData } from "./schema";++type Props = {+ control: Control<FormData>;+ availableConnections: TAvailableAppConnection[];+ isPending: boolean;+};++export const AdcsFields = ({ control, availableConnections, isPending }: Props) => (+ <>+ <AppConnectionSelectField+ control={control}+ name="configuration.adcsConnection"+ label="ADCS Connection"+ required+ menuPlacement="top"+ options={availableConnections}+ isLoading={isPending}+ tooltip="ADCS App Connection contains the Windows domain credentials and Gateway used to reach the AD CS server."+ />+ <Controller+ control={control}+ defaultValue=""+ name="configuration.caName"+ render={({ field, fieldState: { error } }) => (+ <Field className="mb-4">+ <FieldLabel>+ Certificate Authority <span className="text-muted">(optional)</span>+ <Tooltip>+ <TooltipTrigger asChild>+ <Info />+ </TooltipTrigger>+ <TooltipContent className="max-w-sm">- The AD CS certificate authority name (the CA's common name), e.g. corp-ca01-CA.- Leave blank to discover it automatically from the CA host.++ <div className="flex flex-col gap-2">++ <p>++ The AD CS certificate authority name (the CA's common name), for example{" "}++ <span className="font-mono">corp-ca01-CA</span>.++ </p>++ <p>++ Leave blank only if the Gateway can reach the CA host over SMB (TCP 445) to++ discover the name automatically. Otherwise enter it here.++ </p>++ <p>++ To find the name, run this on the AD CS server:++ <br />++ <span className="font-mono">certutil -getreg CA\CommonName</span>++ </p>++ </div>+ </TooltipContent>+ </Tooltip>+ </FieldLabel>- <Input {...field} placeholder="Auto-discovered if left blank" isError={Boolean(error)} />++ <Input++ {...field}++ placeholder="Enter CA name (auto-discovered if left blank)"++ isError={Boolean(error)}++ />+ <FieldError errors={[error]} />+ </Field>+ )}+ />+ </>+);