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
Get Updates on the Splunk Community!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

[Puzzles] Solve, Learn, Repeat: Unmerging HTML Tables

[Puzzles] Solve, Learn, Repeat: Unmerging HTML TablesFor a previous puzzle, I needed some sample data, and ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...