Thursday, 7 September 2023

Splunk How can I do this in python SSL

I need to your help. When I am 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 still can't resolve the above error.

When verifying connection, it returns False.

Do I need to add more into the settings?

Thank you.

 service = client.connect(
        host=host,
        port=port,
        username=username,
        password=password,
        verify=False
    )   


from Splunk How can I do this in python SSL

No comments:

Post a Comment