lab7: PKI, mTLS infra, OpenBao non-dev, hardening, lifecycle scripts

This commit is contained in:
2026-11-26 16:47:23 +03:00
parent cda6e27fb8
commit 16accda962
45 changed files with 3593 additions and 660 deletions
+9
View File
@@ -0,0 +1,9 @@
# Lab 7 PostgreSQL client authentication configuration.
# Local Unix socket allowed only for postgres superuser (healthcheck & operator maintenance).
local all postgres peer
# Mandatory TLS + SCRAM-SHA-256 for all network connections to application DB.
hostssl messenger all 0.0.0.0/0 scram-sha-256
hostssl messenger all ::/0 scram-sha-256
# Reject all plaintext TCP connections explicitly.
hostnossl all all 0.0.0.0/0 reject
hostnossl all all ::/0 reject