Socket.io + SSL + self-signed CA certificate gives error when connecting

前端 未结 4 1637
后悔当初
后悔当初 2020-12-19 04:34

I am running an https server using a certificate which was created using a self-signed CA certificate.

Now I want to connect Socket.io client to the Socket.io server

4条回答
  •  心在旅途
    2020-12-19 05:09

    Don’t use self signed certificates. Just don’t, some browsers give you no way of accepting them when using WebSockets. And you look like a cheap d*ck for not buying a proper cert.

    From They see me pollin, they hatin (p. 23). A presentation by Arnout Kazemier (3rdEden), core team member of Socket.IO.

提交回复
热议问题