agentbbs/internal/sites
Anthony Ettinger 6b5ce8f4be
fix(sites): let the ask endpoint approve the news host (#141)
news.bbs.profullstack.com has its own Caddy site block so Caddy can get
it a Let's Encrypt cert for NNTPS on :563. But it also falls under the
*.bbs.profullstack.com on-demand-TLS block, so Caddy asks agentbbs before
issuing, and the ask handler only approved members and mapped custom
domains. "news" is neither, so it got a 404 and never got a cert. The
news-certs timer then failed forever, and :563 kept serving the
self-signed bootstrap cert, which expired on 2026-09-12.

The handler now also approves the BBS's own service hosts. For now that
is only AGENTBBS_NEWS_HOST. Arbitrary names still 404, so this is still
not an open cert relay.

Co-authored-by: riotcoder <riotcoder@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 22:21:56 -07:00
..
sites.go fix(sites): let the ask endpoint approve the news host (#141) 2026-10-05 22:21:56 -07:00
sites_test.go fix(sites): let the ask endpoint approve the news host (#141) 2026-10-05 22:21:56 -07:00