Splunk Search

SSLError

ashraf_adeelaa
New Member

This code

import splunklib.client as client

host = "127.0.0.1"
port = "8000"
username = "---"
password = "----"

service = client.connect(username=username,password=password,host=host,port=port,scheme = https)
for app in service.apps:
print(app.name)

produces 

SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1125)

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Enterprise Security Watch Party: What’s New in 8.8 - Recap

Splunk Community HQ hosted a Splunk Enterprise Security Watch Party: What’s New In ES 8.8 last Thursday. I had ...

Move CrowdStrike FDR ingestion to Data Inputs with a guided migration

CrowdStrike Falcon Data Replicator data is essential for security investigations, detections, and response. It ...

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.    Watch On-Demand   In this Tech Talk, Splunk platform specialists ...