在 iOS 8.1 中,我们遇到随机 SSL 错误。
服务器上没有问题,似乎是 iOS 设备问题。AWS 支持检查了服务器中的 SSL 配置和证书,但没有发现任何问题。
错误消息是这样的 - “发生 SSL 错误,无法建立与服务器的安全连接。(NSURLErrorDomain:-1200)”。我们正在使用 NSURLConnection 进行网络连接。
我们的许多用户最近开始收到此错误,并且都在 iOS 8.1 中。这是一个已知的错误?
在 iOS 8.1 中,我们遇到随机 SSL 错误。
服务器上没有问题,似乎是 iOS 设备问题。AWS 支持检查了服务器中的 SSL 配置和证书,但没有发现任何问题。
错误消息是这样的 - “发生 SSL 错误,无法建立与服务器的安全连接。(NSURLErrorDomain:-1200)”。我们正在使用 NSURLConnection 进行网络连接。
我们的许多用户最近开始收到此错误,并且都在 iOS 8.1 中。这是一个已知的错误?
I have exactly the same issue with iOS8.1 user on my website on the server side, i have this error :
No hostname was provided via SNI for a name based virtual host
it seems that iOS8.1 doesn't support very well SNI.
The workaround is to configure your webserver tp accept client that doesn't support SNI and set the virtualhost and certificate you want "no SNI client" to be show by default for any all SSL virtualhosts
In apache you have to add :
NameVirtualHost *.443 #before the first SSL virtualhost which will have the default certificate.
SSLStrictSNIVHostCheck off # in this default virtualhost.
Sorry for my english (i'm french) and hope it will help