Re: libpq should not be using SSL_CTX_set_client_cert_cb - Mailing list pgsql-hackers

From Tom Lane
Subject Re: libpq should not be using SSL_CTX_set_client_cert_cb
Date
Msg-id 12363.1274885682@sss.pgh.pa.us
Whole thread Raw
In response to Re: libpq should not be using SSL_CTX_set_client_cert_cb  (Garick Hamlin <ghamlin@isc.upenn.edu>)
Responses Re: libpq should not be using SSL_CTX_set_client_cert_cb
List pgsql-hackers
Garick Hamlin <ghamlin@isc.upenn.edu> writes:
> I am guessing the problem is that validating the presented chain is hard?  

No, the problem is that the current libpq code fails to present the
chain at all.  It will only load and send the first cert in the
postgresql.crt file.  This works only when the client's cert is signed
directly by one of the CAs trusted by the server.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Garick Hamlin
Date:
Subject: Re: libpq should not be using SSL_CTX_set_client_cert_cb
Next
From: alvherre
Date:
Subject: Re: mapping object names to role IDs