imperva / mx-toolbox

mx-toolbox is a collection of scripts that will perform various API driven automation tasks, and are typically invoked by the "run OS command" action set from the MX itself. There is a common utility library that is shared by these scripts.
MIT License
14 stars 9 forks source link

How to ignore HTTPS certificate? #8

Open wboy87 opened 1 year ago

wboy87 commented 1 year ago

Hi, in my case log is full of warnings for certificate validation, how can I ignore this? I have self signed https on Grafana.

2023-06-07T14:31:12.673296+02:00 localhost CROND[5259]: (root) CMDOUT ( InsecureRequestWarning)) 2023-06-07T14:31:12.691696+02:00 localhost CROND[5259]: (root) CMDOUT (/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings)

BR