stunnel: SSL-to-SSL? (for smtp/imap)
- by nonot1
Hello,
How can I configure stunnel to accpet SSL connections, and connect then to an SSL port on a different server?
Here is my setup:
Our ISP's server, "Mail Server", supports smtp/imap over SSL. (Not starttls. Just over ssl.)
But, I have a bunch of client machines that will only trust a specific, internal, root certificate. Thus, they can not connect to "Mail Server".
For these client machines, I'd like to make a dedicated "Mail Tunnel" host that uses stunnel to listen with an in-house signed SSL certificate, and just forward data to "Mail Server" using a 2nd SSL connection.
Can this be done?
What would be the specific steps for Ubuntu Server 10.10? (I'm not too familiar with persistent service configuration.)
Thank you