]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl: emulate multi-cert bundles loading in standard loading
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 16 Sep 2020 12:48:52 +0000 (14:48 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 16 Sep 2020 14:28:26 +0000 (16:28 +0200)
commitdfa93be3b51bd398ce3d143245f41f8a91e09deb
treea607b067490d58c61b145064d0cf4ba477cddfc5
parent47da82111db12a0798fdcfde88710b1ebf4a0037
MEDIUM: ssl: emulate multi-cert bundles loading in standard loading

Like the previous commit, this one emulates the bundling by loading each
certificate separately and storing it in a separate SSL_CTX.
This patch does it for the standard certificate loading, which means
outside directories or crt-list.

The multi-certificates bundle was the common way of offering multiple
certificates of different types (ecdsa and rsa) for a same SSL_CTX.
This was implemented with OpenSSL 1.0.2 before the client_hello callback
was available.

Now that all versions which does not support this callback are
deprecated (< 1.1.0), we can safely removes the support for the bundle
which was inconvenient and complexify too much the code.
src/ssl_sock.c