FreeBSD7 下面 qmail-tls 报错的解决
今天在 FreeBSD7 安装 qmail,测试 smtp tls 连接时,发现问题:
openssl s_client -crlf -starttls smtp -connect localhost:25
CONNECTED(00000003)
63334:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:473:
在 google 搜索的结果是:
NOTE: If you get an error like this:
20656:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:473:
your qmail install might need the cipher lists. Debian does this, I don't know why. The following commands will fix it:
openssl ciphers > /var/qmail/control/tlsclientciphers
openssl ciphers > /var/qmail/control/tlsserverciphers