Stunnel连接问题:140943F2 SSL3_READ_BYTES:sslv3警报意外消息

似乎不能使用stunnel连接到另一方。 获取错误:SSL_connect:140943F2:错误:140943F2:SSL例程:SSL3_READ_BYTES:sslv3警报意外消息

任何想法?

对方似乎不说SSL / TLS。 请确保远程端希望在您连接的端口上使用SSL。

将此线添加到stunnelconfiguration解决了问题:

sslVersion =的SSLv3

我已经检测到,当我的服务器被扫描时发生这个错误,如果是993端口上的确切popup。

以下是我的服务器日志中的一些数据:

Jan 9 07:52:42 mail.lpic.lt dovecot: [ID 583609 mail.error] pop3-login: Error: SSL: Stacked error: error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected message: SSL alert number 10 Jan 9 07:52:42 mail.lpic.lt dovecot: [ID 583609 mail.info] pop3-login: Disconnected (no auth attempts in 2 secs): user=<>, rip=175.184.161.239, lip=127.0.0.1, TLS: SSL_read() failed: error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure: SSL alert number 10 Jan 9 07:52:43 mail.lpic.lt dovecot: [ID 583609 mail.error] pop3-login: Error: SSL: Stacked error: error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected message: SSL alert number 10 Jan 9 07:52:43 mail.lpic.lt dovecot: [ID 583609 mail.info] pop3-login: Disconnected (no auth attempts in 3 secs): user=<>, rip=124.88.55.93, lip=127.0.0.1, TLS: SSL_read() failed: error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure: SSL alert number 10 

试图弄清楚,如果它总是当我被扫描或当我的客户端连接。 我不急于放

 sslVersion=SSLv3 

要么

 sslVersion = all options = NO_SSLv2 

因为我有一些用户使用高山或甚至松检查电子邮件…所以不要阻止客户端的只支持SSLv2

希望我的信息对某人有用。