I am trying to upload photo to my web-server via AFHTTPRequestOperation. Here is my AFHTTPSessionManager. All http-requests via this manager<
AFHTTPRequestOperation
AFHTTPSessionManager
manager<
Here is the solution:
AFSecurityPolicy *policy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModeNone]; policy.allowInvalidCertificates = YES; operation.securityPolicy = policy;
So HTTP basic auth data is provided to operation by manager, but SSL policy - not.