SSL Errors in iOS 7

I occasionally observed SSL errors through HTTPS using AFNetworking under iOS 7 .

An error message appeared on the console:

An SSL error has occurred and cannot securely connect to the server.

Related to

CFNetwork Error SSLHandshake (-9806) NSURLConnection / CFURLConnection HTTP Download Error (kCFStreamErrorDomainSSL, -9806 )

or

Error CFNetwork SSLHandshake (-9810) NSURLConnection / CFURLConnection Error loading HTTP (kCFStreamErrorDomainSSL, -9810 )

At http://www.opensource.apple.com/source/Security/Security-55179.13/libsecurity_ssl/Security/SecureTransport.h you can find an explanation of these error codes:

errSSLClosedAbort = -9806,    /* connection closed via error */
errSSLInternal    = -9810,    /* Internal error */

Does anyone face the same problem?


Today Apple released iOS 7.0.6 , which includes validation to verify SSL connections .

For me, it is more like problems like this: Getting SSL error in iOS7 GM - "AddTrust External CA Root" is not supported? (error code -9813)

But perhaps the new version of iOS will bring some improvement as a side effect ...

EDIT: In iOS 7.0.6, another bug was fixed (double "goto fail" in if-else-if-statement).

+3
source share
1

-9806 -9810 SSL (-, ) WWAN-. WLAN- .

, HTTPS ! .

+3

All Articles