EddyVerbruggen / SSLCertificateChecker-PhoneGap-Plugin

:passport_control: Prevent Man in the Middle attacks with this Cordova plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues on iOS10 beta

MayurChandra opened this issue · comments

Just tried this plugin with iOS10 beta with Xcode 8 beta and get the following error:

[] nw_coretls_read_one_record tls_handshake_process: [-9801]
[443:43552] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9801)

This plugin worked fine with iOS9, stopped working with iOS10 beta. Not sure why.

Will debug and post an update. Thanks

On further diagnostics it appears my server is configured wrong.....so it is not the plugin that is at fault but my server. Sorry.

/usr/bin/nscurl --ats-diagnostics https://mytestservernamemadeup.com
Starting ATS Diagnostics

Configuring ATS Info.plist keys and displaying the result of HTTPS loads to https://mytestservernamemadeup.com.
A test will "PASS" if URLSession:task:didCompleteWithError: returns a nil error.

Use '--verbose' to view the ATS dictionaries used and to display the error received in URLSession:task:didCompleteWithError:.

Default ATS Secure Connection

ATS Default Connection
2016-08-23 12:51:31.437 nscurl[7464:447457] CFNetwork SSLHandshake failed (-9801)
2016-08-23 12:51:31.439 nscurl[7464:447457] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9801)

Result : FAIL