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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...