01-13-2020 07:08 AM
Hello,
I am using the Meraki Python module and having issues getting through our web gateway.
My old scripts use a request.get where I can pass the certificate location in, but I am unable to see how to do this within the meraki python module
Code / Error:
import meraki
x_cisco_meraki_api_key = 'MyKey'
m = meraki.DashboardAPI(x_cisco_meraki_api_key)
orgs = m.organizations.getOrganizations()
print(orgs)Organizations, getOrganizations - HTTPSConnectionPool(host='api.meraki.com', port=443): Max retries exceeded with url: /api/v0/organizations (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))),
Solved! Go to Solution.
02-01-2023 02:13 AM
cheers
01-13-2020 01:22 PM
What OS are you using this on?
Also, are you using a "recent" requests module? Try something like:
pip install -U requests
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide