Re: Trust intermediate CA for client certificates - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Trust intermediate CA for client certificates
Date
Msg-id 20131202212449.GV17272@tamriel.snowman.net
Whole thread Raw
In response to Re: Trust intermediate CA for client certificates  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
* Bruce Momjian (bruce@momjian.us) wrote:
> Sorry, I should have said:
>
>     Tom is saying that for his openssl version, a client that passed
>     an intermediate certificate had to supply a certificate _matching_
>     something in the remote root.crt, not just signed by it.
>
> At least I think that was the issue, rather than requiring the client to
> supply a "root" certificate, meaning the client can supply an
> intermediate or root certificicate, as long as it appears in the
> root.crt file on the remote end.

That wasn't the impression I got from Tom's comments; hopefully he'll
clarify.  I really don't think OpenSSL actually does 'matching' kind of
work as is being described here..  It certainly shouldn't be deciding on
the validity of a certificate based on that.  I wonder if this is
related to the question which was raised previously about if we trust
*intermediate CAs* when no root CA exists (which we certainly should
*not* be doing, but it's hardly clear what the heck happens when
everything has to go into a file called 'root.crt').

> Once I fully understand this I can post a proposed doc change.

Thank you much for offering to write up the docs around this.
Stephen

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Trust intermediate CA for client certificates
Next
From: Ian Pilcher
Date:
Subject: Re: Trust intermediate CA for client certificates