[stunnel-users] Debian Bug#460019: cert= produces output on stderr even with log=?set
Luis Rodrigo Gallardo Cruz
rodrigo at nul-unu.com
Tue Jan 15 07:14:03 CET 2008
On Fri, Jan 11, 2008 at 10:24:34PM +0100, Michal Trojnara wrote:
> Luis Rodrigo Gallardo Cruz wrote:
> > The following is output on stderr:
> > 2008.01.10 02:54:19 LOG5[11786:3083495088]: Peer certificate location
> > /srv/stun/keys
>
> Please try the following beta version:
> ftp://stunnel.mirt.net/stunnel/stunnel-4.22b2.tar.gz
I get even more output with this version. I know some
(most?) of the errors shown below are caused by my hastily made up config,
but the substance of the bug report is that the messages are going to
stderr, and not to the configured logfile
$ cat /tmp/test-conf
output = /tmp/log
compression = zlib
cert = /etc/ssl/certs/ssl-cert-snakeoil.pem
connect = localhost:9999
verify = 3
$ stunnel4 /tmp/test-conf
2008.01.15 00:09:29 LOG6[14154:3082619632]: Compression enabled using zlib method
2008.01.15 00:09:29 LOG6[14154:3082619632]: Unable to retrieve any random data from /home/rodrigo/.rnd
2008.01.15 00:09:29 LOG7[14154:3082619632]: Wrote 0 new random bytes to /home/rodrigo/.rnd
2008.01.15 00:09:29 LOG7[14154:3082619632]: RAND_status claims sufficient entropy for the PRNG
2008.01.15 00:09:29 LOG7[14154:3082619632]: PRNG seeded successfully
2008.01.15 00:09:29 LOG4[14154:3082619632]: Wrong permissions on /etc/ssl/certs/ssl-cert-snakeoil.pem
2008.01.15 00:09:29 LOG7[14154:3082619632]: Certificate: /etc/ssl/certs/ssl-cert-snakeoil.pem
2008.01.15 00:09:29 LOG7[14154:3082619632]: Certificate loaded
2008.01.15 00:09:29 LOG7[14154:3082619632]: Key file: /etc/ssl/certs/ssl-cert-snakeoil.pem
2008.01.15 00:09:29 LOG3[14154:3082619632]: error stack: 140B3009 : error:140B3009:SSL routines:SSL_CTX_use_RSAPrivateKey_file:PEM lib
2008.01.15 00:09:29 LOG3[14154:3082619632]: SSL_CTX_use_RSAPrivateKey_file: 906D06C: error:0906D06C:PEM routines:PEM_read_bio:no start line
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20080115/575a0281/attachment.sig>
More information about the stunnel-users
mailing list