From b203ff6e20bc80363ebfc7204e7fdd1ae656e046 Mon Sep 17 00:00:00 2001 From: Jerome Magnin Date: Fri, 3 Apr 2020 15:28:22 +0200 Subject: [PATCH] MINOR: config: add a global directive to set default SSL curves This commit adds a new keyword to the global section to set default curves for ssl binds: - ssl-default-bind-curves --- doc/configuration.txt | 8 ++++++++ src/ssl_sock.c | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/doc/configuration.txt b/doc/configuration.txt index a6ff8df34..f3e6aa147 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -622,6 +622,7 @@ The following keywords are supported in the "global" section : - stats - ssl-default-bind-ciphers - ssl-default-bind-ciphersuites + - ssl-default-bind-curves - ssl-default-bind-options - ssl-default-server-ciphers - ssl-default-server-ciphersuites @@ -1271,6 +1272,13 @@ ssl-default-bind-ciphersuites "ssl-default-bind-ciphers" keyword. Please check the "bind" keyword for more information. +ssl-default-bind-curves + This setting is only available when support for OpenSSL was built in. It sets + the default string describing the list of elliptic curves algorithms ("curve + suite") that are negotiated during the SSL/TLS handshake with ECDHE. The format + of the string is a colon-delimited list of curve name. + Please check the "bind" keyword for more information. + ssl-default-bind-options [