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

后端 未结 7 1341
长情又很酷
长情又很酷 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:39

    Modifying the info.plist worked for me as well.

    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
    </dict>
    
    0 讨论(0)
提交回复
热议问题