Re: Preventing accidental non-SSL connections in psql?

Поиск
Список
Период
Сортировка
Искать
От
Yang Zhang
Тема
Re: Preventing accidental non-SSL connections in psql?
Дата
Msg-id
BANLkTi=gfiYD-6FuYtcVYutv-EubCvaQ0w@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Preventing accidental non-SSL connections in psql? Yang Zhang <yanghatespam@gmail.com>
Re: Preventing accidental non-SSL connections in psql? Adrian Klaver <adrian.klaver@gmail.com>
Re: Preventing accidental non-SSL connections in psql? Yang Zhang <yanghatespam@gmail.com>
Re: Preventing accidental non-SSL connections in psql? Adrian Klaver <adrian.klaver@gmail.com>
Re: Preventing accidental non-SSL connections in psql? Yang Zhang <yanghatespam@gmail.com>
Re: Preventing accidental non-SSL connections in psql? Scott Marlowe <scott.marlowe@gmail.com>
Re: Preventing accidental non-SSL connections in psql? Yang Zhang <yanghatespam@gmail.com>
Re: Preventing accidental non-SSL connections in psql? Adrian Klaver <adrian.klaver@gmail.com>
Re: Preventing accidental non-SSL connections in psql? Yang Zhang <yanghatespam@gmail.com>
On Wed, Apr 6, 2011 at 4:57 PM, Scott Marlowe  wrote:
> On Wed, Apr 6, 2011 at 5:24 PM, Yang Zhang  wrote:
>> On Wed, Apr 6, 2011 at 4:22 PM, Adrian Klaver  wrote:
>>> On Wednesday, April 06, 2011 4:06:40 pm Yang Zhang wrote:
>>>> How do I prevent accidental non-SSL connections (at least to specific
>>>> hosts) when connecting via psql? Is there any configuration for this?
>>>> Thanks.
>>>
>>> http://www.postgresql.org/docs/9.0/interactive/auth-pg-hba-conf.html
>>> hostssl
>>> http://www.postgresql.org/docs/9.0/interactive/libpq-connect.html
>>> sslmode
>>
>> I'm aware of sslmode and hostssl - the threat model I'm asking about
>> is the client getting MITM'd because the user forgets to specify `psql
>> sslmode=verify-full`.
>
> As long as you only have hostssl entries for connections the users
> can't connect without ssl.
>

hostssl is a server-side policy; I'm interested in setting up my
client with mandatory server authentication.
В списке pgsql-general по дате отправления
От: Yang Zhang
Дата:
От: Adrian Klaver
Дата:
FAQ