Complete Lab 7 security and PKI track

This commit is contained in:
2026-12-05 23:43:41 +03:00
parent 20afc2c790
commit d8ecd2aad9
93 changed files with 6714 additions and 133 deletions
+13
View File
@@ -0,0 +1,13 @@
# Unix-domain socket is available only inside the database container and is
# used by its entrypoint for one-time role initialization.
local all all trust
# Applications authenticate with distinct client certificates and mapped CNs.
hostssl messenger messenger_api all cert map=lab7_services
hostssl messenger messenger_dispatcher all cert map=lab7_services
hostssl messenger messenger_worker all cert map=lab7_services
# Only the migration/bootstrap job uses the local operator password.
hostssl messenger postgres all scram-sha-256
hostnossl all all all reject
hostssl all all all reject