https://github.com/nagios-plugins/nagios-plugins/issues/779 --- nagios-plugins-2.4.12/plugins/t/check_http.t.orig +++ nagios-plugins-2.4.12/plugins/t/check_http.t @@ -159,7 +159,7 @@ cmp_ok( $res->return_code, "==", 0, "Can read https for www.e-paycobalt.com (uses AES certificate)" ); - $res = NPTest->testCmd( "./check_http -H www.mozilla.com -u /firefox -f follow" ); + $res = NPTest->testCmd( "./check_http -H www.mozilla.com --sni -u /firefox -f follow" ); is( $res->return_code, 0, "Redirection based on location is okay"); $res = NPTest->testCmd( "./check_http -H www.mozilla.com --extended-perfdata" );