Getting CFNetwork SSLHandshake failed (-9806) error

前端 未结 3 1463
不思量自难忘°
不思量自难忘° 2021-02-13 19:03

I am trying to call my url using

NSDictionary *landingDetails=[appDelegate landingPage];

        NSString *devinf=[UIDevice currentDevice].systemVersion;
              


        
相关标签:
3条回答
  • 2021-02-13 19:31

    FWIW: I got the same error number and it was due to an expired certificate, so this is another potential source for the issue.

    0 讨论(0)
  • 2021-02-13 19:39

    There is a bug on iOS 8 when using a certificate with hash function SHA512, better use the SHA256. I stuck with this error for weeks.

    0 讨论(0)
  • 2021-02-13 19:39

    Normally when I get CFNetwork SSLHandshake failed -(*) Its because of my local wifi network (device is connected to network but not the internet)

    Try it again on another network (3G is the quickest solution for me)

    0 讨论(0)
提交回复
热议问题