From: Apollon Oikonomopoulos Date: Tue, 15 Nov 2016 11:55:44 +0000 (+0100) Subject: ssl: fix reference to SSLv2 and disable SSLv3 X-Git-Tag: 2.2.27~159 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b775f8b4306beb10c77a6035fe41aec77c014b41;p=thirdparty%2Fdovecot%2Fcore.git ssl: fix reference to SSLv2 and disable SSLv3 This is driven by the fact that OpenSSL 1.1 does not know about SSLv2 at all and dovecot's defaults simply make OpenSSL error out with "Unknown protocol 'SSLv2'"[1]. So we change the defaults to refer to SSLv2 iff OpenSSL seems to know something about it. While at it, it's also a good idea to disable SSLv3 by default as well. [1] https://bugs.debian.org/844347 Signed-off-by: Apollon Oikonomopoulos --- diff --git a/doc/example-config/conf.d/10-ssl.conf b/doc/example-config/conf.d/10-ssl.conf index 31b750c698..2cd445b392 100644 --- a/doc/example-config/conf.d/10-ssl.conf +++ b/doc/example-config/conf.d/10-ssl.conf @@ -46,7 +46,7 @@ ssl_key =