licode icon indicating copy to clipboard operation
licode copied to clipboard

wws://ip:8080 have net::ERR_CERT_AUTHORITY_INVALID error

Open loyin opened this issue 6 years ago • 5 comments

when Use https to connetct WWS at chrome .console have show ERR_CERT_AUTHORITY_INVALID

erizo.js:276 WebSocket connection to 'wss://192.168.10.228:8080/socket.io/?EIO=3&transport=websocket' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID

but I connetct wws is ok at yesteday. but now this error Happen. How to solve this problem? I try to use openssl create new pem,but run ./initBaseSimple.sh,is say cannot read first line in pem file

loyin avatar Feb 05 '18 02:02 loyin

You are using a selfsigned cert. Try opening a new tab, same browser and browse to the server using https://whatever so that you get the certificate warning and click ok to accept and proceed. then go back to your app in the other tab and refresh. it should work then so that means you need to import the cert to local machine trusted root where your browsing from.

eeldivad avatar May 17 '18 17:05 eeldivad

Thank you @eeldivad That worked for me.

aimflaiims avatar Aug 03 '18 11:08 aimflaiims

@eeldivad Thank for your awesome answer

blogdaren avatar Aug 17 '18 01:08 blogdaren

@eeldivad Thanks!!!

sabbirahmed395 avatar Mar 09 '20 15:03 sabbirahmed395

Thank you so much! @eeldivad

luisemb avatar Feb 06 '21 20:02 luisemb