[+] lab7
Grade 3 secure application acceptance / secure (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Xabenskie
2026-11-30 09:09:57 +03:00
parent 20afc2c790
commit 4eca49fe3d
149 changed files with 68317 additions and 58 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
set -eu
cp /pki/tls.key /tmp/postgres-tls.key
chown postgres:postgres /tmp/postgres-tls.key
chmod 600 /tmp/postgres-tls.key
exec /usr/local/bin/docker-entrypoint.sh postgres -c hba_file=/config/pg_hba.conf -c ssl=on -c ssl_cert_file=/pki/tls.crt -c ssl_key_file=/tmp/postgres-tls.key -c ssl_min_protocol_version=TLSv1.2 -c log_parameter_max_length_on_error=0