[stunnel-users] Stunnel does not connect to email server

Рагиня Александр _sa_nya at mail.ru
Tue Oct 15 13:56:08 CEST 2019


Hello. I have a problem with stunnel it does not connect to e-mail server.
My situation.
I have 2 servers:
1. Windows Server 2012 R2 STD. On it stunnel 5.55 is installed
2. Windows Server 2012 R2 STD. On it corporate MDaemon e-mail server is installed.
Stunnel used to send e-mail from server 1 to server 2. Every worked fine... 2 days ago an SSL-certificate on e-mail server was renewed ( World CA, Sectigo). After it, new cert was installed on server 1, old cert was deleted - in Cerfificate store for Windows users - certmgr.msc.
After it, stunnel saw only old cert, not new. I reinstalled it, copied settings for my e-mail server from old stunnel.conf to new. And now - stunnel does not connect to e-mail server at all. In writes:

2019.10.15 17:39:37 LOG7[6]: TLS state (connect): before SSL initialization
2019.10.15 17:39:37 LOG7[6]: TLS state (connect): SSLv3/TLS write client hello
2019.10.15 17:39:37 LOG3[6]: SSL_connect: Peer suddenly disconnected
2019.10.15 17:39:37 LOG5[6]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket

In the attachment stunnel.conf and log ( with debug = 7 ) for stunnel. Settings for e-mail server in [kvarta-mail] section. 
I spent 2 days. I read manual, Google, tried some methods - but nothing... If you hope me, i'll be very happy.
Thank you.


-- 
Рагиня Александр
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20191015/afeee62f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stunnel.conf
Type: application/octet-stream
Size: 4773 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20191015/afeee62f/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stunnel_cert_errors.log
Type: application/octet-stream
Size: 19518 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20191015/afeee62f/attachment-0003.obj>


More information about the stunnel-users mailing list