Helped a bit. Now my python script fails on SSL connections with error:
File "/opt/splunk/lib/python2.7/site-packages/requests/adapters.py", line 506, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /incident.do?JSONv2 (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",))'
What can i do now ?
I can execute my python script without any problems from SSH, it's just a problems when executed from Splunk....