import { resolve } from "node:path"; import { local } from "../scripts/runtime"; import { createCA, issue } from "../scripts/pki"; // A second independent CA is a negative-test fixture, never mounted into a service. export async function prepareProbePKI(password: string) { const ca = resolve(local, "operator/foreign-ca"); await createCA(ca, password); await issue(ca, resolve(local, "pki/foreign-lb"), "lb", password); }