From 2c86cbf7539af2008d61780b14f37ea8c46c2192 Mon Sep 17 00:00:00 2001 From: Emeric Brun Date: Thu, 30 Oct 2014 15:56:50 +0100 Subject: [PATCH] MINOR: ssl: add statement to force some ssl options in global. Adds global statements 'ssl-default-server-options' and 'ssl-default-bind-options' to force on 'server' and 'bind' lines some ssl options. Currently available options are 'no-sslv3', 'no-tlsv10', 'no-tlsv11', 'no-tlsv12', 'force-sslv3', 'force-tlsv10', 'force-tlsv11', 'force-tlsv12', and 'no-tls-tickets'. Example: global ssl-default-server-options no-sslv3 ssl-default-bind-options no-sslv3 --- doc/configuration.txt | 77 +++++++++++++++++++--------- include/types/global.h | 2 + src/ssl_sock.c | 112 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 168 insertions(+), 23 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index b3d1daeb6..7e578c141 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -663,6 +663,15 @@ ssl-default-bind-ciphers as "AES:ALL:!aNULL:!eNULL:+RC4:@STRENGTH" (without quotes). Please check the "bind" keyword for more information. +ssl-default-bind-options [