I got stunnel4 working. (So happy) Here are the 3 thinks I had to fix:
1) There should be an empty lines between each certificate and the private key. -----BEGIN RSA PRIVATE KEY----- [encoded key] -----END RSA PRIVATE KEY----- [empty line] -----BEGIN CERTIFICATE----- [encoded certificate] -----END CERTIFICATE----- [empty line] more inf on this at http://www.stunnel.org/faq/stunnel.html#certificates 2) remove the accept line. #accept = 995 connect = 110 cert = /etc/ssl/certs/stunnel.pem session = 14400 TIMEOUTidle = 14400 3) Rename file stunnel.conf to stunnel.conf.sample #cd /etc/stunnel/ /etc/stunnel# mv stunnel.conf to stunnel.conf.sample Demi
