How can I switch from ws to wss (secure websocket)

August 30, 2017 1.9k views
Networking Debian

Hey, I am wondering how I can get wss (Secure websocket) instead of just basic ws. I am using node.js with the library "ws" and I don't know what to do. Thanks!

Note: I have debian but can change to ubuntu just to get this to work

Be the first one to answer this question.