[stunnel-users] OpenSSL - write:errno=131
Andrzej Marecki
amr at astro.uni.torun.pl
Tue Jan 11 09:46:26 CET 2005
I managed to compile and install stunnel 4.06 under Solaris 2.6.
(BTW, I use here the word "managed" becuase it was not straightforward: the
up-to-date version - 4.07 - wouldn't compile under Solaris.)
My stunnel.conf file reads:
cert=/opt/etc/stunnel/pop3.pem
chroot = /opt/var/stunnel/
setuid = nobody
setgid = nogroup
pid = /stunnel.pid
output=/var/log/stunnel.log
client = no
[spop3]
accept = localhost:995
connect = localhost:110
[ssmtp]
accept = localhost:465
connect = localhost:25
--------------
/opt/etc/stunnel/pop3.pem has been set up according the instructions at:
http://www.freebsd.hello.pl/files/modules.php?name=News&file=article&sid=5
...so I do hope it's OK ;-).
Anyway, stunnel daemon works - what I get in stunnel.log reads:
stunnel 4.06 on sparc-sun-solaris2.6 PTHREAD+POLL with OpenSSL 0.9.7e 25 Oct 2004
29 clients allowed
(Date & time of the messages quoted above are omitted.)
Now I try to test stunnel:
#/opt/bin/openssl s_client -connect localhost:995 -prexit
...and what I get is:
CONNECTED(00000003)
write:errno=131
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 148 bytes
---
New, (NONE), Cipher is (NONE)
---------------
I get the same when "openssl s_client -connect localhost:995" is issued by
a non-privileged user. Needless to say I can't connect to port 995 using
a bone fide MUA running on a PC under M$W (Thunderbird to be exact).
Can you help me, please.
Andrzej
--
-----------------------------------------------------------------------------
Andrzej Marecki |
Torun Centre for Astronomy | e-mail: amr at astro.uni.torun.pl
N. Copernicus University | WWW: http://www.astro.uni.torun.pl
ul. Gagarina 11 | tel: +48 56 6113032
PL-87-100 Torun, POLAND | fax: +48 56 6113009
-----------------------------------------------------------------------------
"If Bill Gates actually had to admin his own stuff, he'd shoot himself."
-----------------------------------------------------------------------------
More information about the stunnel-users
mailing list