Re: PQgetssl() and alternative SSL implementations

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: PQgetssl() and alternative SSL implementations
Дата
Msg-id CAM-w4HOLocRzELZ0NJ=niH-LR-bpFZ-Wqo-ABg=2ERLoGDy56Q@mail.gmail.com
обсуждение исходный текст
Ответ на PQgetssl() and alternative SSL implementations  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
On Mon, Aug 18, 2014 at 12:54 PM, Heikki Linnakangas
<hlinnakangas@vmware.com> wrote:
>   server_cert_valid: Did the server present a valid certificate? "yes" or
> "no"

Is this just whether the signature verifies? Or whether the chain is
all verified? Or whether the chain leads to a root in the directory?
Does it include verifying the CN? How does the CN comparison get done?

I think you either need to decide that libpq will do all the
verification and impose a blanket policy or leave the verification up
to the application and just return each of these properties as
individual boolean flags.

-- 
greg



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: GIST create index very very slow
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Reporting the commit LSN at commit time