Try the following URL. It works for me with all versions of stunnel...
http://www.dtcc.edu/cs/admin/notes/ssl/
On Thu, 15 Jul 1999, John Castillo wrote:
> Hello All,
>
> Argghh.. where did my hair go!
>
> I have been trying to configure SSL for use with my current imap server (Cyrus). I
>found a couple or reference pages which point to SSLeay (openssl) and stunnel which
>would allow me to configure an SSL environment for Cyrus. If you could please help
>with some suggestions or explanation of the error messages I'm getting, you're
>awesome (because the key/cert/SSL part is stumping me). This is what I've done so
>far.
>
> built SSLeay0.8.1b
> built stunnel3.4a with RSAglue library
> added the proper entry in /etc/inetd.conf
> -namely simap stream tcp nowait cyrus /usr/local/sbin/stunnel -D 7 -l
>/usr/cyrus/bin/imapd imapd
>
> Everything looks good but now I get this error everytime one of my clients (outlook
>express or Netscape messenger) tries
> to connect to the SSL secure IMAP server...
>
>
> Jul 15 17:45:20 phoenix stunnel[12524]: Wrong permissions on /usr/local/ssl/cert
> s/stunnel.pem
> Jul 15 17:45:20 phoenix stunnel[12524]: Could not load DH parameters from /usr/l
> ocal/ssl/certs/stunnel.pem
> Jul 15 17:45:20 phoenix stunnel[12524]: Diffie-Hellman initialization failed
> Jul 15 17:45:20 phoenix stunnel[12524]: stunnel 3.4a on i686-pc-linux-gnu PTHREA
> D+LIBWRAP
> Jul 15 17:45:20 phoenix stunnel[12524]: 7 connected from 172.16.0.227:3679
>
> It seems to WORK though.. I'm just wondering what all the DH errors are all about.
>
> John C.
>
>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]