From b8b0fff2bf9f81434ec071077e54bc40580ec166 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Wed, 12 Feb 2025 17:13:03 +0100 Subject: [PATCH] BUG/MINOR: ssl/cli: "show ssl crt-list" lacks sigals 1d3c8223 ("MINOR: ssl: allow to change the server signature algorithm") mplemented the sigals keyword in the crt-list but never the dump of the keyword over the CLI. Must be backported as far as 2.8. (cherry picked from commit 5a7cbb8d8115770c4776836fdf727b26d490d2ad) Signed-off-by: Willy Tarreau (cherry picked from commit 7b8ec84c40f08eb25840929f014dc47cde3c099e) Signed-off-by: Amaury Denoyelle --- src/ssl_crtlist.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ssl_crtlist.c b/src/ssl_crtlist.c index c90e371..48186c4 100644 --- a/src/ssl_crtlist.c +++ b/src/ssl_crtlist.c @@ -961,6 +961,12 @@ static void dump_crtlist_conf(struct buffer *buf, const struct ssl_bind_conf *co space++; } + if (conf->sigalgs) { + if (space) chunk_appendf(buf, " "); + chunk_appendf(buf, "sigalgs %s", conf->sigalgs); + space++; + } + /* the crt-lists only support ssl-min-ver and ssl-max-ver */ if (conf->ssl_methods_cfg.min) { if (space) chunk_appendf(buf, " "); -- 1.7.10.4