Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-signed netbox certificate #11

Open
VictorPavlushin opened this issue Sep 20, 2021 · 0 comments
Open

Self-signed netbox certificate #11

VictorPavlushin opened this issue Sep 20, 2021 · 0 comments

Comments

@VictorPavlushin
Copy link

VictorPavlushin commented Sep 20, 2021

There was a problem if netbox was forcibly transferred to ssl with a self-signed certificate, while adding the root certificate to the trusted ones in the OS, it gives an error:urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:
The only thing that helps to change this is in the lines:
python-netboxapi / netboxapi / api.py: 91 req_url, auth = (self.username, self.password), verify = False, ** kwargs
python-netboxapi / netboxapi / api.py: 95 req_url, auth = _HTTPTokenAuth (self.token), verify = False, ** kwargs

But this is not correct in theory. How to do it right?
In this case, so that the settings are applied from netbox_netprod_importer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant