PKI: pki-net-caosh + routeros role for RouterOS www-ssl certs (ADR-0009) #85

Closed
opened 2026-11-14 18:09:44 +00:00 by ginjiruu · 1 comment
Owner

Part of #43
Refs: ADR-0009 (docs/adr/0009-certificates-openbao-issues-everything.md), #64, #69, #70, #63, machine-configs#9 (purpose[-zone] mount naming)

OpenBao side of "routers get their REST certs from OpenBao".

  • vault/ root: mount pki-net-caosh, intermediate signed by pki-issue (pathlen 0, DNS name constraint net.caosh.int.animeteamspeak.moe), issuer config
  • role routeros: allowed_domains net.caosh.int.animeteamspeak.moe, subdomains only, IP SANs allowed (mgmt addresses), server auth only, TTL 90d / max 1y, EC P-256 (RouterOS 7 supports it)
  • policy + AppRole for the renderer (#69/#70) and for the routeros Terraform runner: pki-net-caosh/issue/routeros only
  • DNS: r1, r2, sw under net.caosh.int... (iac#50 / machine-configs#16 host DNS)
  • harness-bao (machine-configs) grows the same mount + role, so the CHR sim (#63) gets real certs too
  • the routeros provider uses ca_certificate = lab root, never insecure
Part of #43 Refs: ADR-0009 (docs/adr/0009-certificates-openbao-issues-everything.md), #64, #69, #70, #63, machine-configs#9 (purpose[-zone] mount naming) OpenBao side of "routers get their REST certs from OpenBao". - [ ] `vault/` root: mount `pki-net-caosh`, intermediate signed by `pki-issue` (pathlen 0, DNS name constraint `net.caosh.int.animeteamspeak.moe`), issuer config - [ ] role `routeros`: allowed_domains `net.caosh.int.animeteamspeak.moe`, subdomains only, IP SANs allowed (mgmt addresses), server auth only, TTL 90d / max 1y, EC P-256 (RouterOS 7 supports it) - [ ] policy + AppRole for the renderer (#69/#70) and for the routeros Terraform runner: `pki-net-caosh/issue/routeros` only - [ ] DNS: `r1`, `r2`, `sw` under `net.caosh.int...` (iac#50 / machine-configs#16 host DNS) - [ ] harness-bao (machine-configs) grows the same mount + role, so the CHR sim (#63) gets real certs too - [ ] the routeros provider uses `ca_certificate` = lab root, never `insecure`
Author
Owner

Progress 2026-11-14: production pki-net-caosh + routeros role + issue-only policy applied by openbao-config (PR #88; CA verified against the real root, pathlen 0, name constraint net.caosh). Day-2 renewal in routeros/modules/router/tls.tf, tested in the lab (PR #89). Remaining: AppRole for the routeros runner, DNS names for r1/r2 (#50), the bootstrap .rsc embedding (#64).

Progress 2026-11-14: production pki-net-caosh + routeros role + issue-only policy applied by openbao-config (PR #88; CA verified against the real root, pathlen 0, name constraint net.caosh). Day-2 renewal in routeros/modules/router/tls.tf, tested in the lab (PR #89). Remaining: AppRole for the routeros runner, DNS names for r1/r2 (#50), the bootstrap .rsc embedding (#64).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/iac#85
No description provided.