Files
devvm/docs/content
w3cjandClaude Opus 5.5 aa24efe2e7 fix(proxy): certificates never outlast devvm's CA, and a CA that ended is named
The proxy keeps the CA it started with, because its VM trusts no other,
so a VM that runs past its CA's end without a launch can't verify the
proxy's certificates. Leaves were minted for a day whatever the CA had
left, so they could outlast it, and once it ended every intercepted
tunnel failed its handshake with a misleading reason. leafFor now caps a
leaf's NotAfter and NotBefore at the CA's, keeps a leaf that ends with
the CA until then, and mints none once the CA has ended (errCAEnded);
a CONNECT that would be intercepted then gets 403 before its tunnel opens
(caEndedRefusal), logged as a refused block, so no allow rule is
suggested, with a reason that says to open the VM again, which makes a
new CA, installs it and starts the proxy again.

Docs: how a VM trusts the CA and what happens at its end (internals
network and security, safety network), the proxy's README.

Tests: TestLeafWithinCA, TestInterceptCAEnded (proxy).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 17:58:56 -07:00
..