12-03-2019 09:55 AM
04-12-2020 07:26 AM
While making HTTP REST call with Python to the CMX MSE Server, i get the following error:
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1076)>
from urllib.request import Request, urlopen req = Request('https://cmxlocationsandbox.cisco.com/api/contextaware/v1/maps/info/DevNetCampus/DevNetBuilding/DevNetZone') req.add_header('Authorization', 'Basic bGVhcm5pbmc6bGVhcm5pbmc=') response = urlopen(req) responseString = response.read().decode("utf-8") print(responseString) response.close()
While browsing the URL directly, i get
Evaluation license has expired
I am learning REST API and need the valid URL. Please suggest any solution around.
07-14-2020 12:41 PM
I am having this same issue/error in Coding 202: Parsing JSON. The URL has been updated in the lesson to point to
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1108)>
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