SignalR - Winform Client not able to connect to server

ankit dhiman 1 Reputation point
2021-05-10T21:54:59.73+00:00

Hi I have a web api hosting the SignalR server and trying to connect to it from Window application. but I am getting below error.

Message : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Inner Exception : The remote certificate is invalid according to the validation procedure.

My Api has a SSL certificate configured, How can I connect to that SignalR server from my Window App ?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
{count} votes

Your answer

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