NSURLSession "HTTP load failed kCFStreamErrorDomainSSL, -9813 ; Self signing certificate

后端 未结 7 1348
长情又很酷
长情又很酷 2020-12-04 21:42

I\'m trying to connect my iOS app to an HTTPS Rails app which is currently run on a local host in my network. I can access the site from my browser with https://myIP:3

7条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-04 22:18

    (Edit - I misread this as 9814, expired cert. I'm not sure how to solve this one, but hopefully my response helps point in the right direction.)

    Looks like a cert issue different from the usual "Allow Arbitrary Loads" question.

    Brief excerpt from: Apple Documentation - Appendix A: Common Server Trust Evaluation Errors

    NSOSStatusErrorDomain errSSLNoRootCert -9813

提交回复
热议问题