- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Python requests SSL error in NetMRI appliance but not in NetMRI sandbox environment
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2020 08:30 AM
What python/OS environment differences are there between running a python script in the NetMRI appliance sandbox environment vs in the native NetMRI appliance "job management" scriping?
I can run an REST GET to an external server from the NetMRI sandbox login using python3 <my script> but when I run the same python script in the NetMRI appliance native "Job Management" environment, I get the SSL error below.
File "/usr/lib/python3.4/site-packages/requests/adapters.py", line 370, in send
timeout=timeout
File "/usr/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 574, in urlopen
raise SSLError(e)
requests.packages.urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
During handling of the above exception, another exception occurred: