Skip to content

Commit

Permalink
Disable tls for now
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe authored Apr 19, 2024
1 parent 8d6c187 commit d2f065c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ FROM $base
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends postgresql-15-debversion && \
echo 'CREATE EXTENSION debversion' > /docker-entrypoint-initdb.d/create-extension.sql

ADD create-certificate.sh /docker-entrypoint-initdb.d
# ADD create-certificate.sh /docker-entrypoint-initdb.d
ADD postgresql.conf /etc/postgresql/
20 changes: 10 additions & 10 deletions postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,16 @@ listen_addresses = '*'

# - SSL -

ssl = on
ssl_ca_file = ''
ssl_cert_file = '/var/lib/postgresql/data/pgdata/server.crt'
ssl_crl_file = ''
ssl_crl_dir = ''
ssl_key_file = '/var/lib/postgresql/data/pgdata/server.key'
ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
ssl_prefer_server_ciphers = on
ssl_ecdh_curve = 'prime256v1'
ssl_min_protocol_version = 'TLSv1.2'
# ssl = on
# ssl_ca_file = ''
# ssl_cert_file = '/var/lib/postgresql/data/pgdata/server.crt'
# ssl_crl_file = ''
# ssl_crl_dir = ''
# ssl_key_file = '/var/lib/postgresql/data/pgdata/server.key'
# ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
# ssl_prefer_server_ciphers = on
# ssl_ecdh_curve = 'prime256v1'
# ssl_min_protocol_version = 'TLSv1.2'
#ssl_max_protocol_version = ''
#ssl_dh_params_file = ''
#ssl_passphrase_command = ''
Expand Down

0 comments on commit d2f065c

Please sign in to comment.