Skip to content

Commit

Permalink
Force use of TLSv1.2 instead of TLSv1.0
Browse files Browse the repository at this point in the history
Later versions of Icinga2 does only accept TLSv1.2, not any old insecure version. Forcing TLSv1.0 is thus doomed.
  • Loading branch information
Johan Björklund committed Sep 23, 2021
1 parent cba4974 commit 08dce58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Thruk/Controller/api_conf.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 08dce58

Please sign in to comment.