大网数据广告活动
服务器运维问答

TLS1.2 not possible with iOS mail?

· 52CE 我爱测

I have a dovecot server running that enforces TLS1.2 ssl_protocols = !SSLv2 !SSLv3 !TLSv1 !TLSv1.1 TLSv1.2 This used to work fine until someone tried to connect with an iPhone which complains that the server is not responding and…

问题原文

原帖链接 · Maximilian Kaul · CC BY-SA 3.0

I have a dovecot server running that enforces TLS1.2

ssl_protocols = !SSLv2 !SSLv3 !TLSv1 !TLSv1.1 TLSv1.2

This used to work fine until someone tried to connect with an iPhone which complains that the server is not responding and I see according log messages on the server:

imap-login: Error: SSL: Stacked error: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol

I figured out that it works just fine if I allow TLSv1. Is this for real? I found other people complaining about it (http://www.clift.org/fred/frustration-with-apple-mail-app-on-ios-and-yosemite.html) but I can't really believe it. Please tell me that I'm missing something obvious. Is TLSv1.2 only supported with special ciphers for instance?

Here is my ssl config for completes:

$ egrep -v "^#|^$" /etc/dovecot/conf.d/10-ssl.conf 
ssl = yes
ssl_cert = </etc/ssl/my_certs/mail.xyz.tld.crt
ssl_key = </etc/ssl/my_certs/mail.xyz.tld.key
ssl_dh_parameters_length = 2048
ssl_protocols = !SSLv2 !SSLv3 !TLSv1 !TLSv1.1 TLSv1.2
ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK
ssl_prefer_server_ciphers = yes

Please, someone wake me up and tell me that this is just a bad dream...

Thanks for your help!

已采纳解答

原帖链接 · Steve Lionel · CC BY-SA 3.0

I wish I could pinch you to wake you up, but sadly, this is not a dream. The iOS Mail app cannot speak any later TLS than TLSv1. Not even 1.1 (which is ok by PCI.) Apple has really dropped the ball on this one. The Mail app supports TLS1.1 and 1.2 for SMTP, but not POP3 or IMAP. It looks as if people have been complaining to Apple about this for at least a year, but to no effect so far.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-01-21)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。