I've been testing some code against the 10.3 betas and am seeing HTTPS requests using a self-signed certificate are failing. When testing against 10.2 code these requests are working fine. I do have the self-signed certificate and root certificate installed via a profile on both simulators. Testing against the 10.3 results in the following:
When Enabling the ATS / allowing arbitrary loads the returning data is:
2017-02-23 17:37:06.095 CasperAlly[30906:2156584] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
Removing the ATS / arbitrary loads results in:
2017-02-23 17:32:30.410 CasperAlly[30684:2146777] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
If I test against a different URL with a commercial certificate the code works as expected. If it is any help the code being used is on my github repo: https://github.com/rsaeks/CasperAlly
Thanks a bunch!