This command will create a TCP SSL Proxy from the port 25443 to 2080
stunnel -p /etc/stunnel/stunnel.pem -D 7 -o /var/log/stunnel4/stunnel.log -A /ca/cacert.pem -d 25443 -f -r 2080
To test the server we can issue the following command
openssl s_client -connect 192.168.56.126:25443
Cheerssss
Del.icio.us