diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2010-10-29 00:38:08 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2010-10-29 00:38:08 +0000 |
commit | 3c4940554354980f75d3b3f91a0aa603672c4142 (patch) | |
tree | eb0d0aa09065e626040ca919925de4bdd3d99342 | |
parent | 195661100c28f3569a0406997cd666087ee70c66 (diff) | |
download | puppet-3c4940554354980f75d3b3f91a0aa603672c4142.tar puppet-3c4940554354980f75d3b3f91a0aa603672c4142.tar.gz puppet-3c4940554354980f75d3b3f91a0aa603672c4142.tar.bz2 puppet-3c4940554354980f75d3b3f91a0aa603672c4142.tar.xz puppet-3c4940554354980f75d3b3f91a0aa603672c4142.zip |
- enable ssl
-rw-r--r-- | modules/postgresql/templates/pg_hba.conf | 4 | ||||
-rw-r--r-- | modules/postgresql/templates/postgresql.conf | 3 |
2 files changed, 4 insertions, 3 deletions
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 |