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!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...