fix: verify the metadata database certificate with sslmode=verify-full #235

Merged
pat-s merged 1 commit from fix/metadata-db-verify-full into chore/explicit-metadata-db-reindex 2026-10-17 07:45:47 +00:00

2026-10-17

fix: verify the metadata database certificate with sslmode=verify-full
- Switch every `metadata_db_sslmode` passed to bincraft in `.crow/` and `local/` from `require` to `verify-full`.
- Pass `sslrootcert = bincraft::postgres_sslrootcert("verify-full")` alongside `verify-full` in the scripts that call `DBI::dbConnect()` themselves, since libpq does not read the system trust store.
- Note in the README that the endpoint serves a Let's Encrypt certificate and how to verify it.

Part of rpkgs/bincraft#225.
2026-10-17 07:41:23 +00:00