Re: Force ssl connection - Mailing list pgsql-general

From Muhammad Bashir Al-Noimi
Subject Re: Force ssl connection
Date
Msg-id CABpATRuctOHqZfMB4oiCyO6p8pm2gnevCZNqJrz+czy9ZFH37A@mail.gmail.com
Whole thread Raw
In response to Re: Force ssl connection  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: Force ssl connection
List pgsql-general
On Tue, Jul 9, 2013 at 2:46 AM, Adrian Klaver <adrian.klaver@gmail.com> wrote:
> Also remember in pg_hba.conf first match wins, so if there is a more
> permissive entry before your restrictive one, the permissive one will take
> precedence.


Thanks for reply but you just quted some line from the documentation
which I already read it before posting in mailing list so this didn't
help me out to fix the issue!

So may you please be more specific, what's wrong in my configurations?

My pg_hba.conf content is:

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


--
Best Regards
Muhammad Bashir Al-Noimi


pgsql-general by date:

Previous
From: Raghavendra
Date:
Subject: Re: function with unknown params
Next
From: giozh
Date:
Subject: Re: function with unknown params