Skip to content

Self-signed netbox certificate #11

Description

@VictorPavlushin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions