Problems connecting to 389 directory server
Phil Pishioneri
pgp at pSu.edu
Tue Dec 5 14:38:54 EST 2017
On 12/5/17 12:18 PM, Peter Schober wrote:
> I'm not saying the incorrect trust chain is the very reason for what
> you're experiencing, just that I'd get it fixed while you're at it.
> The TLS server sending out the CA root cert does not make anything
> more secure (or much sense) -- the TLS client is supposed to have the
> trust anchor (e.g. the CA root) available to verify the chain
> transmitted by the TLS server (which in your case is just the LDAP
> server's own cert as you have no intermediate certs).
I don't believe that including the root CA (aka trust anchor) is
incorrect. From RFC 5246 (TLS 1.2), section 7.4.2 ("Server Certificate")
-- https://tools.ietf.org/html/rfc5246#section-7.4.2
certificate_list
This is a sequence (chain) of certificates. The sender's
certificate MUST come first in the list. Each following
certificate MUST directly certify the one preceding it. Because
certificate validation requires that root keys be distributed
independently, the self-signed certificate that specifies the root
certificate authority MAY be omitted from the chain, under the
assumption that the remote end must already possess it in order to
validate it in any case
The draft of TLS 1.3 appears to relax the ordering of certificates,
though in either version, the sender's/end-entity certificate must be first.
-Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20171205/6e76cf46/attachment.html>
More information about the users
mailing list