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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...