I want to allow invalid SSL certificates. My main code is below:
myClient = [[MyClient alloc] init]; [myClient getHtml:@\"/path/to/the/distination.html\"]; <
This is the best method for allowign invalid SSL certificates with AFNetworking.
use add a _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_ to project > Build Settings > Preprocessor Macros and add it to Debug entry.
use add a _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_ to
project > Build Settings > Preprocessor Macros and add it to Debug entry.
Hope it Helps