I try to use the following method to implment SSL pinning in iOS 11.
https://stackoverflow.com/questions/28572321/ssl-pinning-in-swift-alamofire
https://medium.com/@dzungnguyen.hcm/ios-ssl-pinning-bffd2ee9efc
And all of them doesn't work for both Alamofire and NSURLSession.
Anyone know what's wrong?