I'm trying to connect to a SignalR Core hub from my UWP application.
In a .NET Core application (2.1) it works perfectly, whereas in UWP it throws an exception when hub.StartAsync()
is called.
The certificate authority is invalid or incorrect
This is my code:
hub = new HubConnectionBuilder()
.WithUrl("http://localhost:49791/hubs/status")
.Build();
await hub.StartAsync();
What's going on?
I set guess I have to configure something in the Package Manifest, but what?