certificate verify failed #619
-
|
I wrote this python code and i want to connect with my netbox to looking for something: and i gfet this after running also if I do I get answer from my netbox,but this code will be run into production and i dont want to session.verify be false. and Also I get and have this structure for ca-bundle.pem and where is my problem?please help me! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
https://pynetbox.readthedocs.io/en/latest/advanced.html For example: |
Beta Was this translation helpful? Give feedback.
-
|
yes I use docker container for my nginx,that works on and the hostname on this container is diffrent! |
Beta Was this translation helpful? Give feedback.
-
|
@markkuleinio thanks mark, I change my local machine hostname and it solved! |
Beta Was this translation helpful? Give feedback.
Just make sure that your self-signed certificate has common name that matches the hostname that you use in your NETBOX_URL