Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion check_nginx_status.pl
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ sub check_options {
);

if ( $o_disable_sslverifyhostname ) {
$ua->ssl_opts( 'verify_hostname' => 0 );
$ua->ssl_opts( 'verify_hostname' => 0,
SSL_verify_mode => '0',
);
}

# we need to enforce the HTTP request is made on the Nagios Host IP and
Expand Down