Splunk Dev

Splunk SSL Error with Python

daniel333
Builder

Morning everyone,

Came in to work today and seeing this error. Anyone familiar with it? What's the impact and fix? Stock install of Splunk with no custom certs.

03-16-2020 03:01:55.285 -0700 ERROR ExecProcessor - message from "/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/splunk_instrumentation/bin/instrumentation.py" HTTPSConnectionPool(host='e1345286.api.splkmobile.com', port=443): Max retries exceeded with url: /1.0/e1345286/81416994-c2ef-5c6f-a3de-68fb09953b0d/100/0?hash=none (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:742)'),)) 
Labels (2)

youngsuh
Contributor

where you able to fix?

0 Karma

joele23
Engager

I am having the same issue. To add some more info, if I log onto the system and run python 3 (system version not splunk) the script works fine. When I try with using Splunk I get ssl errors. Here is a cut from the error output:

Traceback (most recent call last):
File "/opt/splunk/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 322, in ssl_wrap_socket
context.load_verify_locations(ca_certs, ca_cert_dir)
FileNotFoundError: [Errno 2] No such file or directory

0 Karma

PavelP
Motivator

Hello @joele23

this is actually other issue, so it's better to create a new question

0 Karma

PavelP
Motivator

Hi @daniel333,

is this still open? According to SSLlabs the cert is OK

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...