[stunnel-users] Getting a "Peer suddenly disconnected" error

Michal Trojnara Michal.Trojnara at mobi-com.net
Fri Mar 9 16:36:10 CET 2007


David Goodwin wrote:

>   I'm getting this in the /var/adm/messages log on the server side when
> attempting to connect from the client:
>
> Mar  8 22:23:33 SERVERNAME stunnel: [ID 821868 daemon.error]
> LOG3[27429:4]: SSL_connect: Peer suddenly disconnected
>
> I have the server configured as follows:
> cat /etc/stunnel/stunnel.test.conf
> client=yes
> debug=debug
> cert=/etc/stunnel/stunnel.pem
> [sunrpc]
> accept=112
> connect=127.0.0.1:111
> TIMEOUTclose=10

Simply remove "client=yes" line from server configuration file, unless you
really want to negotiate SSL on the connecting socket.  8-)

Best regards,
    Mike





More information about the stunnel-users mailing list