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
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>