Hi all,

Have anybody used Stunnel at client side for SSL wrapping of data. Today I have started to work on this and encountered few issues.

1. I already have Stunnel installed in my REDHAT machine ( which already came from linux installation I guess ), but when i checked /etc/stunnel folder..its blank...??

2. I have another server which have a working Stunnel service and copied the stunnel.conf and stunnel.pem to my new server. (/etc/stunnel folder) and then edited the stunnel.conf

3. I started the stunnel using the commad "stunnel" from /etc/stunnel folder . (Not sure if this is the right command to start) and found below errors.

2012.02.13 18:23:23 LOG4[23972:47049761923264]: Wrong permissions on /etc/stunnel/drs41-3920.pem
2012.02.13 18:23:23 LOG3[23972:47049761923264]: error stack: 140B3009 : error:140B3009:SSL routines:SSL_CTX_use_RSAPrivateKey_file:PEM lib
2012.02.13 18:23:23 LOG3[23972:47049761923264]: SSL_CTX_use_RSAPrivateKey_file: 607907F: error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key


where /etc/stunnel/drs41-3920.pem is the cert value in stunnel.conf


Anyone experienced the same issue ?