We have a related question to the testing.
All our nscurl tests comes ok.
HOWEVER
Although a particular domain has a strong and valid SSL cert, if we call that endpoint using HTTP, then we get the following error message showing in xcode:
======================
NSErrorFailingURLStringKey=http://xyz.ourdomain.com/ASWSHeadend/ws/features, NSErrorFailingURLKey=http://xyz.ourdomain.com/ASWSHeadend/ws/features, NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.}, CLASS: DTVDataRequestManagerASWS_HandlerReceiverFeatures
2017-06-14 10:13:24.470914-0700 DVRScheduler[1935:1123695] DTVDataRequestHandler.m -[DTVDataRequestHandler checkForHTTPError:] [Line 139] RETRY: 3, ERROR: Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSUnderlyingError=0x17085f200
=======================
for the domain "ourdomain.com" we have a correctly installed/configured SSL cert YET we get this ATS error message.
We were convinced that:
IF ATS is turned-on and you make an HTTP call to an ednpoint that is NOT in the ATS-Exception list, then the iOS would force that call to go into HTTPS and if you have SSL available for that endpoint then all is good.
Apparently it is not the case, or maybe there is a way to force that behavior by adding some "attributes/dirctives" in the ATS-Exception list?
Can you please help.
Thank you.