Re: PQgetssl() and alternative SSL implementations - Mailing list pgsql-hackers

From Greg Stark
Subject Re: PQgetssl() and alternative SSL implementations
Date
Msg-id CAM-w4HOLocRzELZ0NJ=niH-LR-bpFZ-Wqo-ABg=2ERLoGDy56Q@mail.gmail.com
Whole thread Raw
In response to PQgetssl() and alternative SSL implementations  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List 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 by date:

Previous
From: Greg Stark
Date:
Subject: Re: GIST create index very very slow
Next
From: Craig Ringer
Date:
Subject: Re: Reporting the commit LSN at commit time