我们有一个使用AFHTTPClient的类和AFHTTPRequestOperation是在内部。在开发中,我们使用无效的SSL证书连接到服务器,因此我们在返回请求操作的方法中有以下代码:if(self.allowInvalidSSLCertificates){[operationsetAuthenticationChallengeBlock:^(NSURLConnection*connection,NSURLAuthenticationChallenge*challenge){if([challenge.protectionSpace.authenticationMethodisEq