on-internet
← Community

The SSL connection could not be established

Stack Overflow ·

I am using a third party library (Splunk C# SDK ) in my ASP.NET Core application. I am trying to connect to my localhost Splunk service via this SDK, but I get an exception saying: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. And the inner exception says: The remote certificate is invalid according to the validation procedure. This SDK uses HttpClient under the hood, but I don't have access to this object to configure HttpClientHandler. All my search on Google ends up using ServicePointManager to bypass the SSL validation, but this sol

Comments

Sign in or sign up to comment and upvote.

No comments yet.