Select to view content in your preferred language

Unable to Retrieve Local Issuer Certificate

79
2
Monday
Labels (3)
OscarFitzpatrick
Occasional Contributor

Hi,

 

When using ArcGIS API for python to connect to our enterprise portal, after setting verify_cert to False, I receive an exception that our local issuer certificate cannot be retrieved, here's the exception in question:

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

 

I've searched online, but I haven't found information relevant to this particular exception, and I'm wondering if anyone could advise or direct me to any information or documentation that can assist in resolving this issue.

0 Kudos
2 Replies
CodyPatterson
MVP Regular Contributor

Hey @OscarFitzpatrick 

This may be a warning rather than a direct error, but since I can't see your IDE I can't tell for sure. If it is a warning, you may have luck with the last comment on this post here:

https://community.esri.com/t5/arcgis-enterprise-questions/sign-in-to-portal-via-python-script-create...

Basically, it says to disable the warning message, and set verify false on a few items, better explained in that post, if that still doesn't work, let me know and I'll check it out!

Cody

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

Without showing more of the code that gets you the error, specifically the function/method call, it is hard for folks to provide suggestions.  Do you get that message when you instantiate a GIS object?