You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is that self.parse_spec() uses urllib3 and it forces certifi to check certificate anyway. So, passing session with TCPConnector(ssl=False) doesn't helps.
Rewrite parse_spec to ignore ssl or add certificate to certifi.
EXAMPLE:
with open('TINK-ROOT.pem') as file:
customca = file.read()
customca = customca.encode()
cafile = certifi.where()
with open(cafile, 'ab') as outfile:
outfile.write(b'\n')
outfile.write(customca)
The text was updated successfully, but these errors were encountered:
Python raises exception from urllib3->requests when creating Netbox object with AIONetbox() or AIONetbox.from_api classmethod.
The reason is that self.parse_spec() uses urllib3 and it forces certifi to check certificate anyway. So, passing session with TCPConnector(ssl=False) doesn't helps.
Rewrite parse_spec to ignore ssl or add certificate to certifi.
EXAMPLE:
The text was updated successfully, but these errors were encountered: