trying to poulate IP Adresses via python, getting ssl Error #14186
-
Hi relevant code: on request i can paste the whole script here, ofc! i receive the following error message: i do have a self signed certificate. 2 options for solving: any ideas/hints? tnx!!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It appears that netbox_python does not have attributes for SSL verification. NB_URL = "https://192.168.1.102:8681/"
netbox = NetBoxClient(base_url="192.168.1.102", token="token goes here")
netbox._session.verify = False |
Beta Was this translation helpful? Give feedback.
-
One option is to use the internal IPAM address: http://127.0.0.1:8001. |
Beta Was this translation helpful? Give feedback.
It appears that netbox_python does not have attributes for SSL verification.
You can try setting verify=False directly in the Session object.