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;

View solution in original post

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
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!