emqtt icon indicating copy to clipboard operation
emqtt copied to clipboard

support for websockets with ssl

Open picaoao opened this issue 6 years ago • 2 comments

It is great that you added websocket support. It would be even great if you could add websocket secure (ssl) !

picaoao avatar Sep 06 '19 09:09 picaoao

Note that although it's not supported explicitly, since emqtt uses gun for establishing websocket connections, it is my interpretation of the code that it should automatically switch to TLS if one connects to the default port 443: https://github.com/ninenines/gun/blob/f4162604f502bc4e3805c80f303f58acef68614f/src/gun.erl#L895

milgner avatar Apr 06 '20 08:04 milgner

I can confirm this worked for me. Thanks @milgner

RyanSept avatar Mar 24 '23 21:03 RyanSept