Splunk Dev

Splunk Python SSL Connection Error (version 2.7).

YUNHYEONG
Explorer

I need to your help.

When I using python to Splunk Connection, I saw this error. I'm using python 2.7

SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)

So, I saw that reference pages like this

https://docs.splunk.com/DocumentationStatic/PythonSDK/1.6.5/client.html#splunklib.client.Indexes

But I can't clear that ssl problem.

Connection verify is False.

Anything I do more setting need?

Thank you.

 ![service = client.connect(
        host=host,
        port=port,
        username=username,
        password=password,
        verify=False
    )][1]   
Labels (1)

amitm05
Builder
0 Karma

YUNHYEONG
Explorer

It's not correct. Do you have any idea?

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...