2 Commits
Author SHA1 Message Date
Claude 64fc48e8c4 ca: a root with sub-CAs: services signs the BBS's servers, proxy and others for programs beside it
The root (ca/ca.crt), the one callers install, now signs only sub-CAs
(pathlen 1). The services sub-CA signs tls_cert = ca servers' certificates;
bbs ca subca NAME makes another (proxy, for a TLS proxy such as WebOne's
port) with its own key. Leaves carry their sub-CA's certificate after them.
bbs ca issue takes -ca NAME (default services). A root from before, which
could sign no sub-CAs, is refused with how to replace it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTuaG98f8wiWHbNhPo
2026-11-11 12:13:40 +00:00
Claude c470b7fdcd ca: the BBS's own certificate authority, and a package for callers
tls_cert = ca ([msn], [ymsg], [oscar]) and cert_file = ca ([gemini]) have
the BBS's CA sign the server's certificate for the names its clients ask
for: bbs serve makes the CA if there is none, signs at start and looks
daily, keeping keys across renewals (Gemini's good as long as the CA, as
its clients pin). RSA 2048 throughout; bbs ca init -sha1 for Windows
before XP SP3.

bbs ca issue signs a certificate for a TLS proxy; bbs ca package (and
serve, into ca/install-ca.zip) writes what puts the CA on callers'
machines: the .cer, an .inf and .reg writing the machine's trusted roots
(Windows 95 on), remove-ca.reg, an install .bat (certutil), a macOS/iOS
.mobileconfig, the PEM and a README with the fingerprint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTuaG98f8wiWHbNhPo
2026-11-11 11:44:30 +00:00