peers / peerjs-server

Server for PeerJS
https://peerjs.com
MIT License
4.34k stars 1.08k forks source link

Error in connection establishment #180

Closed sonoiodc closed 4 years ago

sonoiodc commented 4 years ago

I'm running my own peerjs server on AWS and i managed to create a ssl certificate with certbot; I did check the certificate from ssllabs.com/ssltest and Everything looks fine When I try to connection from the client I receive : "Error in connection establishment: net::ERR_CERT_REVOKED".

Schermata 2020-04-16 alle 15 57 40

najibghadri commented 4 years ago

Did you solve it?

afrokick commented 4 years ago

This issue not related to PeerJS. try to google WebSocket + ERR_CERT_REVOKED

sonoiodc commented 4 years ago

I refollowed step by step and it work; First I generate the certificate with certbot, than restart the server passing the SSL certificate and finally (since I used a DNS for the certificate) access to the server using the domain name instead of the IP.

P.S. I think that the problem was that somewhere it pointed to the selfsigned certificate that I made for test