drewkerrigan/nagios-http-json

HTTPS site with self signed certificate returns critical

Closed this issue · 1 comments

When requesting a JSON object which is located at an HTTPS website with a self signed certificate the script returns:

CRITICAL: Status CRITICAL.URLError[[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)], url:https://192.168.11.1/wga/widgets/health.json

Would be nice to have a parameter to specify if the certificate check should be bypassed or something alike.

Can be solved by pulling:
#24