Certificate authority ceremonies#

This section is the canonical, executable record of every CCAT root-CA ceremony — the procedures, paper artefacts, threat model, and post-ceremony lessons. The documents here are loaded onto the supplies USB by step-ca/prepare-ceremony-usb.sh so the air-gapped ceremony laptop has the same content this Sphinx build does.

When to run a ceremony#

  • Phase 2 commissioning — the original root + intermediate setup before any CCAT client trusts anything (this is what the playbook below is written for; first run was 2026-04-29).

  • Root rotation — every ~10 years, or sooner if the threat model changes. The playbook is reusable; only PINs and HSM serials change.

  • Post-incident re-key — if HSM #1 (root) leaves the safe under uncontrolled conditions, treat it as compromised and rerun the ceremony with fresh HSMs.

The documents#

Document

Audience

Purpose

USB readme

Operator at ceremony start

“Start here” entry point printed on the supplies USB.

Live USB setup

Prep operator (pre-ceremony)

How to build the boot + supplies USBs, threat model, hash-verify the manifest.

Playbook

Operator + witness during ceremony

Numbered, executable steps §0 through §16. The single source of truth.

Lessons learned 2026-04-29

Future ceremony operators

Post-ceremony retrospective: PKCS#11 URI shape, OpenSC virtual-token quirk, step-cli argument-order issues, and other surprises that the playbook now bakes in.

Cutover playbook

Operator + witness during HSM cutover

Stages A–H executable for the post-ceremony cutover on input-b: HSM verification, root rotation, compose changes, volume bootstrap, provisioner sync, test cohort re-bootstrap.

Lessons learned cutover 2026-05-04

Future cutover operators

Phase 2 cutover retrospective: the libusb-vs-pcscd architectural multi-pivot, step-cli’s missing offline mode, host pcscd contention, the udev/GID alignment dance, and the plumbing bugs that ate hours.

Adjacent documents (background, not procedure)#

Paper artefacts#

The PIN sheet (step-ca/ceremony-pin-sheet.tex.pdf) is the paper companion the operator fills in by hand during the ceremony. It captures the four PINs, two HSM serials, and the root-CA fingerprint twice. The LaTeX source is committed; the rendered PDF should be printed on a trusted printer immediately before the ceremony.

To rebuild the PDF from a checkout:

cd step-ca && pdflatex ceremony-pin-sheet.tex && pdflatex ceremony-pin-sheet.tex

(Twice, so the LastPage reference resolves.)