From 1d3c822300003bf40f4d723109c690ad2944baf2 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 4 May 2023 15:33:55 +0200 Subject: [PATCH] MINOR: ssl: allow to change the server signature algorithm This patch introduces the "sigalgs" keyword for the bind line, which allows to configure the list of server signature algorithms negociated during the handshake. Also available as "ssl-default-bind-sigalgs" in the default section. This patch was originally written by Bruno Henc. --- doc/configuration.txt | 25 ++++++++++++++ include/haproxy/listener-t.h | 1 + include/haproxy/openssl-compat.h | 4 +++ include/haproxy/ssl_sock-t.h | 3 ++ src/cfgparse-ssl.c | 58 ++++++++++++++++++++++++++++++++ src/ssl_crtlist.c | 10 ++++++ src/ssl_sock.c | 14 ++++++++ 7 files changed, 115 insertions(+) diff --git a/doc/configuration.txt b/doc/configuration.txt index 9d4aa3c247..0111b6125a 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1097,6 +1097,7 @@ The following keywords are supported in the "global" section : - ssl-default-bind-ciphersuites - ssl-default-bind-curves - ssl-default-bind-options + - ssl-default-bind-sigalgs - ssl-default-server-ciphers - ssl-default-server-ciphersuites - ssl-default-server-options @@ -2183,6 +2184,22 @@ ssl-default-bind-options [