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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...