|
Hey everyone, Below
are the steps I figured out, ran multiple times, and haven’t had a single
issue out of. These steps allow you to use stunnel. The only downfall to using
stunnel connections is that in your logs, all connections using the secure
ports have a src address of 127.0.0.1. So here they are: Prerequisites 1) stunnel 2) openssl 3) web
server 4) email
server Generating a Self-Signed Certificate with a Client Key 1) cd
/etc/httpd/conf 2) make
stunnel.pem 3) Follow
on screen instructions 4) mkdir
–p /usr/local/etc/stunnel 5) mv
stunnel.pem /usr/local/etc/stunnel 6) cd
/usr/local/etc/stunnel 7) openssl
x509 –in stunnel.pem –outform DER –out qmail.der 8) cp
qmail.der /var/ww/html 9) See
page for client certificate installation Writing the Stunnel Script 1) cd
/usr/local/etc/stunnel/ 2) vi
stunnel.conf 3) Create
the below script: cert = /usr/local/etc/stunnel/stunnel.pem chroot = /usr/local/var/run/stunnel/ pid = /stunnel.pid setuid = nobody setgid = nobody #foreground = yes #debug = 7 output = /usr//local/etc/stunnel/stunnel.log #output = /dev/stdout [smtps] accept = 9925 connect = 25 [pop3s] accept = 9955 connect = 110 [imaps] accept = 9933 connect = 143 4) vi
/etc/rc.local 5) Insert
the following lines #Run the stunnel script for secure Qmail connections
(smtps, pop3s, imaps) /usr/sbin/stunnel /usr/local/etc/stunnel/stunnel.conf 6) Reboot
Server Installing the Self-Signed Client Key 1) In
Internet Explorer, go to https://email.wtechgroup.com/qmail.der 2) Once
the dialog box pops up, click Open. 3) Then
click Install Certificate 4) Place
the certificate in the Trusted Root Certification Authorities store 5) Click
OK 6) Accept
the Security Warning by clicking Yes 7) Setup
the necessary account and ports in Outlook. 8) Restart
Outlook Ryan Starrett Senior Support Tech. Walser Technology Group, Inc. From: Aaron Gray
[mailto:[EMAIL PROTECTED] Good good call.. On 4/12/06, Rick
Macdougall <[EMAIL PROTECTED]>
wrote: Aaron Gray wrote: |
- [toaster] Problem w/ POP3 over SSL/TLS Aaron Gray
- Re: [toaster] Problem w/ POP3 over SSL/TLS Rick Macdougall
- Re: [toaster] Problem w/ POP3 over SSL/TLS Aaron Gray
- Re: [toaster] Problem w/ POP3 over SSL/TLS Rick Macdougall
- RE: [toaster] Problem w/ POP3 over SSL/TLS wtechgroup
