Re: SSL cleanups/hostname verification

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SSL cleanups/hostname verification
Дата
Msg-id 27801.1224508438@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SSL cleanups/hostname verification  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: SSL cleanups/hostname verification  (Magnus Hagander <magnus@hagander.net>)
Re: SSL cleanups/hostname verification  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Attached patch cleans up the certificate verification in libpq, and adds
> a configuration paraqmeter to control it. The new parameter is
> "sslverify", and can be set to:

> * cn = default = will validate that the certificate chains to a trusted
> root, *and* that the cn on the certificate matches the hostname
> specificed in the connection. This is the only option that prevents
> man-in-the-middle attacks completely, and therefor is the default.

How can you make that the default?  Won't it immediately break every
installation without certificates?

The patch seems pretty far short of sufficient as far as supporting a
new conninfo option goes --- for instance it appears to leak the string
at disconnect.  Check through all the references to some existing option
field to see if you missed anything else.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: contrib/pg_stat_statements
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Block level concurrency during recovery