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
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!