simplewebrtc / SimpleWebRTC

Simplest WebRTC ever
Other
4.64k stars 1.2k forks source link

Cannot Access My Signal Server Without Going to Socket.io link and Clicking Advanced --> Proceed on Browser #731

Closed vinodmap closed 5 years ago

vinodmap commented 5 years ago

Hello, I have setup a signalserver at https://54.xxx.xx.xxx/socket.io/. When I go to this address, I get a Not Secure/Private warning in the browser. (i.e., it does not recognize the SSL certificate in sslcerts). If I press proceed in the Browser, it goes to the page and I get:

{"code":0,"message":"Transport unknown"}

as expected. But, if I don't do the Advanced --> Proceed on every browser this runs from, video does not come up. How can I modify this such that I do not have to do this? Do I need to use my own SSL certificate that is recognized, or is there another way around this?

fippo commented 5 years ago

you need a valid certificate. https://letsencrypt.org/ gets you one.