Security

Why am I getting the error "The request was aborted: Could not create SSL/TLS secure channel"?

adhakshinamoort
New Member

Dear Team,

I am new to Splunk and trying to create one same for hitting the Splunk endpoint from the c# Code. I have configured in my localhost.

When i access the below URL, i am getting Login failed, from the code i am getting The request was aborted: Could not create SSL/TLS secure channel., kindly advice on this. Thanks in advance.

https://localhost:8089/services/auth/login?username=admin&password=admin123

Tags (3)
0 Karma
1 Solution

bucinar
Engager

hi @adhakshinamoorthy,

could you try with changing tls version to 1.2 ? ( i found simular syntax for this )

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

View solution in original post

0 Karma

bucinar
Engager

hi @adhakshinamoorthy,

could you try with changing tls version to 1.2 ? ( i found simular syntax for this )

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
0 Karma

ramprakash
Explorer

Hi..Can anyone tell me where exactly you changed this configuration.

0 Karma

adhakshinamoort
New Member

Thanks a lot its working now.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...