stunnel(8) [centos man page] - Unix
Oct 21, 2013 stunnel: Securing the Insecure with SSL and Creating SSL cert = /etc/stunnel/cert.pem key = /etc/stunnel/cert.key client = yes Define your services. stunnel works by listening on another port and then redirecting that traffic through to the unsecured port. For example, if you want to secure SMTP, you would have it listen on another port and then forward it to port 25. Stunnel configuration examples - Wiki Knowledge Base Jul 08, 2019 Mail Relay to Office 365 Using Stunnel - Email Servers
Feb 09, 2009
Use Stunnel as an SSL Email Proxy with Gmail : WIN-911 Support
Install and run stunnel on your proxy server, telling it that the certificate it should present is the one generated in stage 1. Have stunnel forward the decrypted requests to squid. You might need to have stunnel on the other side, or openssl_client to re-encrypt the request to the upstream server. Caveats: Your users will hate you.
openssl s_client -connect PROXY:7121 New, TLSv1/SSLv3, Server public key is 2048 bit Result (connecting from CLIENT to SERVER through PROXY). Oct 21, 2013 · Squid proxy by default runs on localhost and port 3128 so we have to tell Stunnel to forward accepted connections to that port: connect = 127.0.0.1:3128 So overall the “stunnel.conf” file must contain the lines below: cert = /etc/stunnel/cert.pem key = /etc/stunnel/cert.key client = yes Define your services. stunnel works by listening on another port and then redirecting that traffic through to the unsecured port. For example, if you want to secure SMTP, you would have it listen on another port and then forward it to port 25.