]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: skip self issued CA in cert chain for ssl_ctx
authorEmmanuel Hocdet <manu@gandi.net>
Fri, 28 Feb 2020 15:00:34 +0000 (16:00 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 26 Mar 2020 11:53:53 +0000 (12:53 +0100)
commit16739778923bbd3f827a8e9ce760c4caa831b5b8
treeb38f3afb2cebe2e065c1d41ad01cae44a31861de
parent37950c8d271ea7191f958299f79e4306f6db8506
MINOR: ssl: skip self issued CA in cert chain for ssl_ctx

First: self issued CA, aka root CA, is the enchor for chain validation,
no need to send it, client must have it. HAProxy can skip it in ssl_ctx.
Second: the main motivation to skip root CA in ssl_ctx is to be able to
provide it in the chain without drawback. Use case is to provide issuer
for ocsp without the need for .issuer and be able to share it in
issuers-chain-path. This concerns all certificates without intermediate
certificates. It's useless for BoringSSL, .issuer is ignored because ocsp
bits doesn't need it.
src/ssl_sock.c