I want to allow invalid SSL certificates. My main code is below:
myClient = [[MyClient alloc] init]; [myClient getHtml:@\"/path/to/the/distination.html\"]; <
In AFNetworking 2.0, you can use the following:
[AFHTTPRequestOperationManager manager].securityPolicy.allowInvalidCertificates = YES;