From 3c4940554354980f75d3b3f91a0aa603672c4142 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Fri, 29 Oct 2010 00:38:08 +0000 Subject: - enable ssl --- modules/postgresql/templates/pg_hba.conf | 4 ++-- modules/postgresql/templates/postgresql.conf | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/postgresql') diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf index fa53ba31..36d9004e 100644 --- a/modules/postgresql/templates/pg_hba.conf +++ b/modules/postgresql/templates/pg_hba.conf @@ -83,5 +83,5 @@ host all all 127.0.0.1/32 pam # IPv6 local connections: host all all ::1/128 pam -host all all 0.0.0.0/0 pam -host all all ::0/0 pam +hostssl all all 0.0.0.0/0 pam +hostssl all all ::0/0 pam diff --git a/modules/postgresql/templates/postgresql.conf b/modules/postgresql/templates/postgresql.conf index aee8261a..57c4b227 100644 --- a/modules/postgresql/templates/postgresql.conf +++ b/modules/postgresql/templates/postgresql.conf @@ -57,7 +57,7 @@ # - Connection Settings - #listen_addresses = 'localhost' # what IP address(es) to listen on; -listen_addresses = * +listen_addresses = '*' # comma-separated list of addresses; # defaults to 'localhost', '*' = all # (change requires restart) @@ -80,6 +80,7 @@ bonjour_name = 'Magiea\'s Postgresql server' #authentication_timeout = 1min # 1s-600s #ssl = off # (change requires restart) +ssl = on #ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH' # allowed SSL ciphers # (change requires restart) #ssl_renegotiation_limit = 512MB # amount of data between renegotiations -- cgit v1.2.1