deathcap / wsmc

WebSocket proxy to Minecraft
33 stars 10 forks source link

Support wss:// (websocket secure, like https://) for packet encryption #24

Open deathcap opened 8 years ago

deathcap commented 8 years ago

wsmc skips the HANDSHAKING phase, so it does not use MC protocol encryption. As an alternative, it should support using secure websockets (the 'wss://' protocol scheme instead of 'ws://').

This is likely a trivial change, substituting ws with wss in the URL, but testing requires a valid certificate (perhaps use: https://letsencrypt.org - though it seems https://deathcap.github.io also has a valid cert, but we need one on the ws server)