#SSL Configuration
Install Stunnel :
sudo apt-get install stunnelUpdate configuration such as following :
nano /etc/stunnel/myconf.conf# Certificate
cert = /my/way/to/ssl.crt
key = /my/way/to/not_crypted.key
chroot = /var/run/stunnel4/
pid = /stunnel.pid
# User id
setuid = nobody
# Group id
#setgid = nobody
[websockets]
accept = 8443
connect = 8888Save the file and start stunnel :
/etc/init.d/stunnel4 startLaunch your websocket server in the connect port and connect in the client view on wss://mysite:acceptport