Skip to content

fix(init): subordinate first-boot must not stall when revocation_base_url is set before establishment #181

Description

@Bugs5382

What

Adopting an intermediate/issuing node with revocation_base_url set in its initial config leaves the node booting but never binding its management API — the adopt orchestration times out. Removing the revocation config lets the same node reach the awaiting-certificate state normally (confirmed by A/B: identical config minus revocation_base_url boots and serves).

A subordinate is not a CA until its enrollment is signed, so bringing up the revocation surface (CRL/OCSP listener + delegated OCSP responder) at first boot — before any CA key/identity exists — is premature and wedges the boot.

Expected

First-boot should not stand up the revocation surface (or run OCSP-responder ensure) until the node has an established identity; a pre-establishment revocation_base_url should be inert (or the bring-up deferred), never blocking the management listener.

Repro

Adopt a role=intermediate node with pki.revocation_base_url set and no allow_unverified_revocation_url; the node boots (NIC up) but :443 never listens. Same config without revocation_base_url → awaiting-certificate, :443 serving.

Workaround shipped web-side (CryptOS-PKI/web#73): the adopt wizard no longer sends revocation config for a subordinate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions