ca_trust: new role to install a root CA into the system trust store #531
Notifications
Due Date
No due date set.
Blocks
Reference: Mortis/Kamino#531
Reference in new issue
Block a user
Problem
Follow-up of the planned
openbaorole (a single-node OpenBao server: tarball install, raft storage, consumer-supplied TLS, an opt-ininitentry point returning ano_logfact, optional Shamir unseal from vaulted keys, anupdateentry point and a declarative file audit device). A certificate from an internal CA, such as one OpenBao's PKI engine issues, is only trusted by hosts that carry its root. No role installs a root CA today, so each consumer does it by hand.Out of scope: issuing or renewing certificates; per-application trust stores (Java keystores, browser profiles).
Proposal
A new role
ca_trustthat takes one or more consumer-supplied root CA certificates (PEM content) and, on every host it runs on:/usr/local/share/ca-certificates/<name>.crt;update-ca-certificatesthrough a handler when a file changed;It is generic: any internal CA, not only OpenBao's.
Acceptance criteria
/etc/ssl/certs/ca-certificates.crtand thatopenssl verifyaccepts a leaf it signed.minor_changes.Assisted-by: Claude Code