We’ve been having a hard time securing our app’s network connections with SSL using AFNetworking 2.5.0.
We use a self-signed certificate authority and implemented a
I was getting this error, Error Domain=NSURLErrorDomain Code=-1012 NSErrorFailingURLStringKey
Error Domain=NSURLErrorDomain Code=-1012 NSErrorFailingURLStringKey
The below change alone got it working for me.
self.validatesDomainName = NO;