Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
loyin opened this issue Feb 5, 2018 · 5 comments
Open

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

loyin opened this issue Feb 5, 2018 · 5 comments

Comments

@loyin
Copy link

loyin commented Feb 5, 2018

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 loyin changed the title wws://ip:8080 hava net::ERR_CERT_AUTHORITY_INVALID error wws://ip:8080 have net::ERR_CERT_AUTHORITY_INVALID error Feb 5, 2018
@eeldivad
Copy link

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.

@aimflaiims
Copy link

Thank you @eeldivad That worked for me.

@blogdaren
Copy link

@eeldivad Thank for your awesome answer

@sabbirahmed395
Copy link

@eeldivad Thanks!!!

@luisemb
Copy link

luisemb commented Feb 6, 2021

Thank you so much!
@eeldivad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants