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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...