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

Developer technologies | ASP.NET | ASP.NET Core
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 82,146 Reputation points Volunteer Moderator
    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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.