Splunk Dev

What version of TLS does the splunk python SDK use?

tzoellner
Explorer

Hello!

I've got a problem: My python script is not able to get a connection to our splunk server.

This is my code:
SPLUNKCONNECTION = client.connect(
host=URL, # Server URL
app=APP, # Name of the app
port=9089, # we have got an Offset of 1000 in our ports
scheme="https", # https is used
version="6.6.3", # Splunk version as seen in "Help -> Infos" in the top right corner
username=USER, # Username who shall be logged in
sharing="app",
password=PASS) # Password of the user

This is the given error:

ssl.SSLError: [Errno 1] _ssl.c:499: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

All "capslock" names are prefilled variables. The entries are correct in the variables, i already checked it.

We have the theory that there are problems with the SDKs TLS Version and our server. So we want to check this.
But if someone knows a general solution for this Problem, I would be happy.

Thanks for the help!
Cheers,
Torben

0 Karma

tzoellner
Explorer

The problem is found. I used an older python version. Python just needs to be updated!

0 Karma
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...