I am having trouble with Xcode 7.0.5 and self-signed certs (I think). I'm wondering if any of the Alamofire swift-2.0 branch test cases cover self-signed certs?
The majority of the certificates that exist in the Alamofire test suite are actually self-signed certs. It works exactly as you would expect.
All the data task tests that are written can easily be converted to download task tests by switching the name and providing a destination
parameter. This will download the data into a temporary file instead of reading it into memory. Otherwise they're more or less the same operation.
Additionally, all server trust challenges are handled by the same ServerTrustPolicy
. Data
, Download
and Upload
requests are all handled in the same way.
Best of luck.