From a49f577dae485256a68e99eba0e2b5196ade90ff Mon Sep 17 00:00:00 2001 From: axeloz <1597611+axeloz@users.noreply.github.com> Date: Fri, 17 Dec 2021 19:32:25 +0100 Subject: [PATCH] Update monitolite.pl --- monitolite.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitolite.pl b/monitolite.pl index b0ba809..dbd66f1 100644 --- a/monitolite.pl +++ b/monitolite.pl @@ -196,7 +196,7 @@ sub check_http { $host = 'http://'.$host if ($host !~ m/^http/i); my $check = LWP::UserAgent->new( - ssl_opts => { verify_hostname => 0 }, + ssl_opts => { verify_hostname => 1 }, protocols_allowed => ['http', 'https'] ); $check->timeout(5);