Re: Force ssl connection - Mailing list pgsql-general

From Muhammad Bashir Al-Noimi
Subject Re: Force ssl connection
Date
Msg-id CABpATRv6Lu=5Tz5B=RkYcHq9nWzQr63J83WOWrW4cJ=Q_bAL9A@mail.gmail.com
Whole thread Raw
In response to Re: Force ssl connection  (Adrian Klaver <adrian.klaver@gmail.com>)
List pgsql-general
On Tue, Jul 9, 2013 at 11:16 PM, Adrian Klaver <adrian.klaver@gmail.com> wrote:
> Where are you connecting from? If you are connecting locally using sockets(local above) or host(line 3,4,5 above)
thenyou are bypassing ssl. 
I'm connecting from 192.168.0.74 and I commented line5 as following:

local   all             postgres                                peer
local   all             all                                     peer
host    all             all             127.0.0.1/32            md5
host    all             all             ::1/128                 md5
#local   replication     postgres                                peer
#host    replication     postgres        127.0.0.1/32            md5
#host    replication     postgres        ::1/128                 md5
#host   all     all     0.0.0.0/0       md5
hostnossl        all     all     0.0.0.0/0       reject
hostssl all     all     0.0.0.0/0       md5




--
Best Regards
Muhammad Bashir Al-Noimi


pgsql-general by date:

Previous
From: Johann Spies
Date:
Subject: Removing duplicates
Next
From: Muhammad Bashir Al-Noimi
Date:
Subject: Re: Force ssl connection