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

From Tom Lane
Subject Re: Trust intermediate CA for client certificates
Date
Msg-id 9917.1386007181@sss.pgh.pa.us
Whole thread Raw
In response to Re: Trust intermediate CA for client certificates  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Trust intermediate CA for client certificates
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> I have updated the patch, attached, to be clearer about the requirement
> that intermediate certificates need a chain to root certificates.

I see that you removed the sentence
  The root  certificate should be included in every case where  <filename>postgresql.crt</> contains more than one
certificate.

in both places where it appeared.  I seem to remember that I'd put that
in on the basis of experimentation, ie it didn't work to provide just
a partial chain.  You appear to be telling people that it's safe to
omit the root cert, and I think this is wrong.

Specifically, rather than the text "trusted by the server, i.e. signed by
a certificate in the server's <filename>root.crt</filename> file", I think
you need to say "trusted by the server, i.e., appears in the server's
<filename>root.crt</filename> file".  Have you experimented with the
configuration you're proposing, and if so, with which OpenSSL versions?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Draft release notes for 9.3.2
Next
From: Andres Freund
Date:
Subject: Re: In-core regression tests for replication, cascading, archiving, PITR, etc.