I am creating a hybrid iOS application using apache Cordova. The problem is till iOS 8.2 my application's REST services is working fine but for higher version of OS I am getting tls error.
This is not a new question, fair enough but I tried every possible cocoa key combinations to bypass my http:// services but still facing this problem. I will brief about the errors.
If I am setting NSAllowsArbitraryLoads to 'true' the error which I am getting is "nw_coretls_read_one_record tls_handshake_process: [-9824]" small and confusing.
If I am setting cocoa keys like minimum tls version and allow insecure http load, the error which I am getting is ---
"nw_coretls_read_one_record tls_handshake_process: [-9824] 2017-04-24 16:22:59.536 appname[63076:1462750] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824) 2017-04-24 16:22:59.561310 SmartPM[63076:1462718] PAC Fetch failed with error [NSURLErrorDomain:-1200] 2017-04-24 16:22:59.561649 SmartPM[63076:1462718] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: NSURLErrorDomain: -1200 2017-04-24 16:23:00.109545 SmartPM[63076:1462792] [] nw_coretls_read_one_record tls_handshake_process: [-9824] 2017-04-24 16:23:00.112 SmartPM[63076:1462750] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824) 2017-04-24 16:23:00.219 SmartPM[63076:1462469] webView:didFailLoadWithError - -1200: An SSL error has occurred and a secure connection to the server cannot be made."
Please help me regarding this. I am tired of trying different options and explored all blogs related to this ATS errors.