title: CFNetwork SSLHandshake failed (-9810) Issue (Objc)
body: <p>I have converted an application from ASIHTTPRequest to AFNetworking, all works fine for me, I get response successfully when calling an api, but an issue appears with AFNetworking even set Boolean allowInvalidCertificates to NO.</p>
  
  <pre><code>manager.securityPolicy.allowInvalidCertificates = NO;
  </code></pre>
  
  <p>I have tried <code>NSURLConnection</code> but same issue, all works fine but I get this handshake error log all the time.</p>
  
  <p>Furthermore, I have couple of old applications written in objective c, in which MKNetworking/AFNetworking is being used, APIs are working fine, I am getting response too.</p>
  
  <p>But the thing which bothers me is that I start getting this message in log: </p>
  
  <blockquote>
    <p>CFNetwork SSLHandshake failed (-9810)</p>
  </blockquote>
  
  <p>while calling an API no matter SOAP/REST, weird thing is in few Apps I am not using SSL but still getting it.</p>
  
  <p>I have check through internet/blogs/Stackoverflow and tried all found solutions but problem sustains.</p>
  
  <p>What is this code (-9810) at the end?</p>