php-weathermap-zabbix-plugin icon indicating copy to clipboard operation
php-weathermap-zabbix-plugin copied to clipboard

Zabbix with self-signed HTTPS certificates

Open kornflex opened this issue 9 years ago • 0 comments

If you use HTTPS instead of HTTP, make sure to have corrects certificates.

If you use self signed, I will not work.

Edit this file : weathermap/lib/SimpleZabbixApi.php

Add this options in curl connection :

curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

kornflex avatar Jan 29 '16 14:01 kornflex