own-VPS front door never serves the community apex — S12's portal address dies with ERR_SSL_PROTOCOL_ERROR #512
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#512
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Evidence (drive
20260814T050102Z, #492)Sign-in leg red at its final step:
Everything before it worked — the password ceremony completed end-to-end on the live public IdP for the first time:
artifacts/ceremony/login-done.pngshows the operator signed in at kanidm/ui/apps, branded "E2E Drive". The red is the very next navigation: S12's portal address (https://<apex>) — nothing answers TLS at the bare apex.Root cause (verified in the render, not a race)
renderCaddy(internal/clan/frontdoor.go:250) builds exactly one site:virtualHosts."*.<apex>". A wildcard covers subdomains only — the bare apex has no site address, no cert, no route. The private path masks this: its S12 portal address is the control-plane forward (plain HTTP, foundingPrefix.ts), so the apex door was never exercised until own-VPS, whereportalAddress(d)=https://+ Address.Host = the apex (internal/founding/handoff.go:687).The backend is already there and green on this drive: fleetwire supply stages the built dashboard to
/srv/ourcloud/dashboard(internal/fleetwire/supply.go:85), and the gateway control-plane unit serves SPA+API on loopback :8080 withOURCLOUD_DASHBOARD_DIRexported (internal/clan/vmguest.go:363). Only the door is missing.Fix direction
Both changes in
renderCaddy(shared by both renders — the dual-render hazard applies, pin both):virtualHosts."*.<apex>".serverAliases = [ <apex> ](nixos caddy module). The sametls { dns acmedns … }block then obtains the apex's cert through the same delegation — the broker's_acme-challenge.<slug>CNAME (#508) already covers the apex's challenge name (both the wildcard's and the apex's challenges live at_acme-challenge.<apex>). No broker change. This mirrors the private path's guest-CA cert, which deliberately SANsapex, *.apex(frontdoor.go:511) — the public side finally keeps the same promise.@portal host <apex>→reverse_proxyto the control plane (the same loopback targetGateURLpoints at) — the dashboard SPA + API. Ungated for now: exact parity with today's private path. #511 interaction: DDR 0172 will put the panel behind the auth gate; that lands on this route (or moves it toadmin.<apex>) under #511's own spec — do not pre-implement the gate here.Test: render-seam pins in the existing front-door suite — apex serverAlias present in both renders, portal route host-matched to the apex proxying the control-plane target, service routes and IdP route untouched.
Why the reporter didn't file this
Reporter hit its cap/limit at 05:07Z and parked #492 ready-for-human. Filed by hand with the render verified.
Blocks #492 (drive
20260814T050102Z).swarm-claim host=matou-dev-server-01 run=5898
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #512 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope