From 08dce588d2996301614a1f936885e8e0be0d1194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bj=C3=B6rklund?= Date: Thu, 23 Sep 2021 08:34:16 +0200 Subject: [PATCH] Force use of TLSv1.2 instead of TLSv1.0 Later versions of Icinga2 does only accept TLSv1.2, not any old insecure version. Forcing TLSv1.0 is thus doomed. --- lib/Thruk/Controller/api_conf.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Thruk/Controller/api_conf.pm b/lib/Thruk/Controller/api_conf.pm index 1ca5b5f..4e3151b 100644 --- a/lib/Thruk/Controller/api_conf.pm +++ b/lib/Thruk/Controller/api_conf.pm @@ -2395,7 +2395,7 @@ This is the entry point sub index { my $context = new IO::Socket::SSL::SSL_Context( - SSL_version => 'tlsv1', + SSL_version => 'TLSv1_2', SSL_verify_mode => Net::SSLeay::VERIFY_NONE(), ); IO::Socket::SSL::set_default_context($context);