I want to allow invalid SSL certificates. My main code is below:
myClient = [[MyClient alloc] init]; [myClient getHtml:@\"/path/to/the/distination.html\"]; <
I extended AFHTTPSessionManager in my code. When testing against a test server, all I need is adding a single line like this:
mySessionManager.securityPolicy.allowInvalidCertificates = YES;