regilero/check_nginx_status — pull request #10 by fager (2014-09-04 11:21:53+00:00)
Title: Problems with ssl verifiy fixed

Fixed Problems with SSL-Hostname Verification.

While connecting to a private IP to check a public SSL-Site (Webserver behind a firewall) the Check failed with "NGINX CRITICAL - 500 Can't connect to shop.example.net:443 (certificate verify failed)".

This pull requests adds the option "--disable-sslverifyhostname" to Disable SSL-Hostname Checks during the connection with LWP::UserAgent. By disabling this check, i was able to connect and get a correct check-result.