erkyrath / tworld

A choice-based shared online text environment sandbox
MIT License
71 stars 13 forks source link

SSL support #142

Closed erkyrath closed 10 years ago

erkyrath commented 10 years ago

Support https URLs. When playing via https, use wss (websocket SSL).

I have tested this with a self-signed SSL cert. Getting a real life production cert up will require additional gymnastics.

erkyrath commented 10 years ago

This is now deployed with a self-signed SSL cert. Try: https://seltani.net/

You will see warning messages about an untrusted (self-signed) certificate. Also, Safari refuses to connect on the websocket (although it can browse the rest of the site). Firefox and Chrome seem happy.

If everything seems right, I will install a "real" cert next week.