Re: Trust intermediate CA for client certificates

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Ian Pilcher <arequipeno(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Craig Ringer <craig(at)2ndquadrant(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, stellr(at)vt(dot)edu, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Trust intermediate CA for client certificates
Date: 2013-12-02 20:29:50
Message-ID: 529CEDBE.2050105@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


On 12/02/2013 03:21 PM, Ian Pilcher wrote:
> On 12/02/2013 02:17 PM, Tom Lane wrote:
>> Ian Pilcher <arequipeno(at)gmail(dot)com> writes:
>>> Yes. And the problem is that there is no way to prevent OpenSSL from
>>> accepting intermediate certificates supplied by the client. As a
>>> result, the server cannot accept client certificates signed by one
>>> intermediate CA without also accepting *any* client certificate that can
>>> present a chain back to the root CA.
>> Isn't that sort of the point?
>>
> I'm not sure what you're asking. The desired behavior (IMO) would be to
> accept client certificates signed by some intermediate CAs without
> accepting any client certificate that can present a chain back to the
> trusted root. This is currently not possible, mainly due to the way
> that OpenSSL works.
>

Wouldn't that amount to only partially trusting the root? It seems kinda
odd. In any case, It's not something I think Postgres needs to solve.

cheers

andrew

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-12-02 20:32:54 Re: Trust intermediate CA for client certificates
Previous Message Ian Pilcher 2013-12-02 20:21:49 Re: Trust intermediate CA for client certificates

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-12-02 20:32:54 Re: Trust intermediate CA for client certificates
Previous Message Alvaro Herrera 2013-12-02 20:28:01 Re: Re: [BUGS] BUG #7873: pg_restore --clean tries to drop tables that don't exist