Click here to Skip to main content
15,888,317 members
Please Sign up or sign in to vote.
4.00/5 (3 votes)
Problem is, in production the webapp is delivered over HTTPS and the signalR hub is delivered over classic HTTP (e.g. http://test.com/SignalRNotificationH) and, as expected, most modern browser throw a mixed-content warning and refuse to talk to signalR.

My questions are:

1) Is there a way to avoid the mixed-content warning by code?

2) Would it be worth to build a self-hosted http server supporting HTTPS? And, if so, will the browser talk to a client on https://test.com/SignalRNotificationH with some self-signed certificate?
Posted

1 solution

You can run SignalR on Https.SSL is a host concern, not really related to SignalR.

Please check below mentioned links for more info.

Hosting SignalR under SSL/https

SignalR and HTTPS

I hope this will help to you :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900