How to fix the exception System.Net.Http.HttpRequestException: The SSL connection could not be established

Singh, Sheetal 0 Reputation points
2024-05-29T11:57:56.0666667+00:00

we have SignalR and SignalR.Client libraries used in our project to establish the connection between the client and the server. The services are .NET applications and the client is a mobile application which is also a .NET application.

I am got the following exception when I checked the Splunk log of the mobile application. The exception is not consistent so it's difficult to understand the root cause of it.

User's image

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,572 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
131 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 60,361 Reputation points
    2024-05-29T20:56:27.6633333+00:00

    unlike windows, you can not override ssl certificate verification on a mobile o/s. the signing source must be installed as a trusted certificate on the mobile device.