]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl/sample: ssl_c_san returns a comma separated list of SAN
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 27 Feb 2023 21:16:06 +0000 (22:16 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 9 Jul 2024 11:57:18 +0000 (13:57 +0200)
commit9797a7718c187c40d63fcbbc1631dcd93ba42aac
treef6833973d90e3657c8132942ac626e70bad27ca9
parent0a1b251c1a2ac55e135db0f5ac3d241e218308b4
MINOR: ssl/sample: ssl_c_san returns a comma separated list of SAN

The ssl_c_san sample fetch returns a list of Subject Alt Name which was
presented by the client certificate.

The format is the same as the "openssl x509 -text" command, it's a
Description: Value list separated by commas.
The format is directly generated by the GENERAL_NAME_print() openssl
function.

https://github.com/openssl/openssl/blob/openssl-3.0/crypto/x509/v3_san.c#L207

Example:
    IP Address:127.0.0.1, IP Address:127.0.0.2, IP Address:127.0.0.3, URI:http://docs.haproxy.org/2.7/, DNS:ca.tests.haproxy.com
doc/configuration.txt
src/ssl_sample.c