Prepare verified laboratory 7 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 20afc2c790
commit eb1b5c7b84
677 changed files with 208256 additions and 64 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -eu
# Official root entrypoint drops to postgres after preparing its data directory.
install -m 600 -o postgres -g postgres /source-tls/key.pem /run/tls/key.pem
install -m 644 -o postgres -g postgres /source-tls/cert.pem /run/tls/cert.pem
install -m 644 -o postgres -g postgres /source-tls/ca.crt /run/tls/ca.crt
install -m 644 -o postgres -g postgres /source-tls/ca.crl /run/tls/ca.crl
exec /usr/local/bin/docker-entrypoint.sh postgres -c listen_addresses='*' -c ssl=on -c ssl_min_protocol_version=TLSv1.2 -c ssl_cert_file=/run/tls/cert.pem -c ssl_key_file=/run/tls/key.pem -c ssl_ca_file=/run/tls/ca.crt -c ssl_crl_file=/run/tls/ca.crl -c hba_file=/config/pg_hba.conf -c password_encryption=scram-sha-256 -c log_statement=none -c log_connections=off -c log_disconnections=off