Receiving SSL error in iOS7 GM - “AddTrust External CA Root” is not trusted?

你。 提交于 2019-11-30 15:41:11

Try adding the intermediate certificates to your (API's) web server configuration. Most times they are sent along with your real certificate.

It might be that iOS knows (and trusts) the root certificate, but that one (or more) intermediate certificates (between your actual certificate and the real certificate) aren't known. By adding them, iOS can figure out that the chain between your certificate and the root certificate actually exists.

Here is a list of other work-arounds.

Use the Chrome or Puffin web browsers.

Use Safari in private browsing mode.

See: https://discussions.apple.com/thread/5327078?tstart=0

Robert

Not a solution but a workaround if you want to get going for the moment is to override the default behavior of NSURLConnection. Check https://developer.apple.com/library/ios/technotes/tn2232/_index.html#//apple_ref/doc/uid/DTS40012884-CH1-SECNSURLCONNECTION

I had a similar problem except that my error was 9814 i.o 9813. Same situation, worked fine with iOS6 and no longer with iOS7.

The URL I was calling was https://.... I changed it to http://... and it seems to be working fine

Not sure it will work for you but definitely weird

Good luck

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!