Default TOMSWALLAPI_DB_SSLMODE to require; document local-dev override #20

Open
opened 2026-07-26 17:11:04 +10:00 by benvin · 0 comments
Owner

Problem. The default is disable. The database carries the complete
firewall policy for the estate and the credentials that guard it; plaintext
Postgres as the out-of-the-box posture is the wrong default even though
docker-compose localhost is the common dev case.

Proposal. Default require (or verify-full where CA material is
available); set disable explicitly in docker-compose.yml for local dev.
Defaults should be safe in production and overridden for dev, not the reverse.

**Problem.** The default is `disable`. The database carries the complete firewall policy for the estate and the credentials that guard it; plaintext Postgres as the out-of-the-box posture is the wrong default even though docker-compose localhost is the common dev case. **Proposal.** Default `require` (or `verify-full` where CA material is available); set `disable` explicitly in `docker-compose.yml` for local dev. Defaults should be safe in production and overridden for dev, not the reverse.
Sign in to join this conversation.