iOS 9.3 : An SSL error has occurred and a secure connection to the server cannot be made

后端 未结 4 1496
旧巷少年郎
旧巷少年郎 2020-12-04 22:20

I am getting following error with self signed certificate

Error Domain=NSURLErrorDomain Code=-1200 \"An SSL error has occurred and a secure connecti

4条回答
  •  隐瞒了意图╮
    2020-12-04 22:53

    At the command-line in OS X, run the following:

    nscurl --ats-diagnostics https://filename.hostname.net --verbose

    This will tell you what combinations of ATS settings will and will not permit iOS to access your site, and should point you towards what is wrong with your site.

    It could be one or more of the following

    • Certificate hash algorithm (must be SHA-256 or above)
    • TLS version (must be 1.2)
    • TLS algorithms (must provide Perfect Forward Secrecy)

提交回复
热议问题