Lab-host cert delivery: integrate with wg-enroll USB flow #3
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User intent (2026-04-29 conversation): the lab-host mTLS leaf cert (issued by wg-pki/scripts/issue-cis490-client-cert.sh) should be installed automatically as part of the wg-enroll USB enrollment flow, not hand-carried via tarball.
Today:
wg-pki/scripts/issue-cis490-client-cert.sh <host_id>mints a leaf + bundles it as<host_id>.tar.scripts/install-lab-host.sh) does not touch certs — operator drops them at/etc/cis490/certs/{lab-host.pem,key,wg-ca.pem}by hand.Desired:
wg-enrollUSBs carry an issued CIS490 client cert (or a pointer to one issued at enrollment time) that the enrollment process places at/etc/cis490/certs/.Cross-repo: this needs a coordinated change between
spectral/wg-enrollandspectral/CIS490. Per the repo memory, wg-enroll itself stays creation-only — the cert can be embedded in the per-USB enrollment artifact rather than minted by wg-enroll at provision time.Blocks: end-to-end Tier 0 smoke test from a real lab host. Until this lands, the manual tarball flow in
wg-pki/README.mdis the workaround.