Skip to content

docs(certificates): morpheus's GUI serves an estate-CA leaf, and how to reissue it - #1694

Merged
Gerrrt merged 2 commits into
mainfrom
gerrrt/morpheus-gui-estate-leaf
Nov 23, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
gerrrt/morpheus-gui-estate-leaf

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • generate-certificates.md:
    • The pfsense-ui row now names the estate-CA leaf, due 2029-02-25.
    • A new section, The pfSense GUI's leaf, says why it has its own name and gives the reissue steps: make certs, then a shell import that prints only reference ids, and where the rollback is.
    • A trust-table row for the CA now held in pfSense's certificate manager.
  • docs/changelog.md: the record.

Why

The 2026-11-13 audit listed the GUI's default self-signed certificate: 398 days, due 2027-04-16, and renewed the same way every year. The GUI now serves morpheus-ui.matrix.elysium from the estate CA, 825 days, with SANs for morpheus.matrix.elysium, 10.0.99.1 and 10.7.7.1. It can't reuse morpheus.matrix.elysium: that file is the syslog client leaf, and reissuing over it would break log shipping.

Blast radius

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Docs only here. On the box, after a fresh make backup-firewall:

  • The CA and the leaf were imported into pfSense's certificate manager by a PHP script in its shell, and the GUI was switched to the leaf.
  • The key went over scp into a root-only directory, was never printed, and the staged copies were deleted (deleted, not overwritten: rm -P is a no-op on FreeBSD 13+ and the root is ZFS).
  • The leaf key also stays in the main checkout's gitignored certificates/, like every other leaf.
  • The old self-signed certificate is still in the manager as the rollback.

Verification

  • make validate passes: docs only, so python3 scripts/check_docs.py (OK) and ./scripts/lint.sh (pass) were run instead, per CLAUDE.md
  • Deployed and confirmed working:
    • The leaf verifies against ca.pem on prometheus.
    • On morpheus, the GUI's handshake on 10.0.99.1:443 and 10.7.7.1:443 serves the leaf and verifies against the CA, with -verify_ip on each address.
    • collect-cert-expiry.sh --print reads pfsense-ui as checked, expiring 2029-02-25.
    • A login from a Hicks browser is the operator's check.
  • Docs updated: generate-certificates.md and the changelog

🤖 Generated with Claude Code

…to reissue it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 21:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The cleanup instructions promise an overwrite, but rm -P only unlinks files on this FreeBSD host, so the private-key cleanup limitation must be documented.

1 open issue
What changed in this PR

This documentation-only PR records the pfSense GUI’s move to an estate-CA certificate and adds a renewal procedure that keeps its leaf separate from the syslog client certificate.

Changes:

  • Updates the management-console inventory and CA trust table.
  • Documents certificate reissue, import, cleanup, verification, and rollback steps.
  • Records the deployment and verification results in the changelog.
File Description
docs/​runbooks/​generate-certificates.md Updates certificate details and adds the pfSense GUI renewal procedure.
docs/​changelog.md Records the estate-CA leaf deployment and retained rollback certificate.

Review effort: Balanced

Comment thread docs/runbooks/generate-certificates.md Resolved
@Gerrrt
Gerrrt enabled auto-merge (squash) November 23, 2026 21:30
rm -P has been a no-op since FreeBSD 13 and morpheus's root is ZFS, so the
staged key copies are deleted, not overwritten. The runbook now uses plain rm
and says why that adds no exposure: config.xml holds the same key on the
same disk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt merged commit da3a134 into main Nov 23, 2026
9 of 10 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/morpheus-gui-estate-leaf branch November 23, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants