Re: Force ssl connection

From: Muhammad Bashir Al-Noimi <mbnoimi(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Force ssl connection
Date: 2013-07-10 09:59:27
Message-ID: CABpATRv6Lu=5Tz5B=RkYcHq9nWzQr63J83WOWrW4cJ=Q_bAL9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jul 9, 2013 at 11:16 PM, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> wrote:
> Where are you connecting from? If you are connecting locally using sockets(local above) or host(line 3,4,5 above) then you 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Muhammad Bashir Al-Noimi 2013-07-10 10:04:56 Re: Force ssl connection
Previous Message Johann Spies 2013-07-10 09:11:11 Removing duplicates