regilero / check_nginx_status

Nagios check for nginx status report
GNU General Public License v3.0
51 stars 25 forks source link

Fix error with verify_hostname on newer Perl versions #21

Open linuxmail opened 4 years ago

linuxmail commented 4 years ago

This patch fixes the problem:

NGINX CRITICAL - 500 Can't connect to foo.example.com:443 (certificate verify failed)

on newer Perl / liblwp-protocol-https-perl versions. On Debian Stretch