RE: Order of certs returned by SSL_get_peer_cert_chain()

2014-10-21 Thread Michael Wojcik
From: owner-openssl-us...@openssl.org [mailto:owner-openssl- us...@openssl.org] On Behalf Of Viktor Dukhovni Sent: Monday, 20 October, 2014 17:48 To: openssl-users@openssl.org Subject: Re: Order of certs returned by SSL_get_peer_cert_chain() Last time I read the code, I concluded

Re: Order of certs returned by SSL_get_peer_cert_chain()

2014-10-21 Thread Viktor Dukhovni
On Tue, Oct 21, 2014 at 12:27:46PM +, Michael Wojcik wrote: Last time I read the code, I concluded that SSL_get_peer_cert_chain returns the certificate chain exactly as sent by the remote server in its TLS/SSL server HELLO message. The internally constructed chain used in certificate

Order of certs returned by SSL_get_peer_cert_chain()

2014-10-20 Thread Graham Leggett
Hi all, Can anyone confirm the order in which certs are returned by SSL_get_peer_cert_chain()? Regards, Graham — __ OpenSSL Project http://www.openssl.org User Support Mailing List

Re: Order of certs returned by SSL_get_peer_cert_chain()

2014-10-20 Thread Viktor Dukhovni
On Mon, Oct 20, 2014 at 09:22:15PM +0200, Graham Leggett wrote: Can anyone confirm the order in which certs are returned by SSL_get_peer_cert_chain()? Last time I read the code, I concluded that SSL_get_peer_cert_chain returns the certificate chain exactly as sent by the remote server in its