自从我更新到 iOS 7.1 后,我必须开始使用安全连接才能下载 plist 文件,我收到了以下信息:
Mar 21 09:08:36 xx-iPad itunesstored[98] <Warning>: Could not load download manifest with underlying error:
Error Domain=NSURLErrorDomain Code=-1202 "Cannot connect to the Store"
UserInfo=0x16ec5500 {NSLocalizedDescription=Cannot connect to the Store,
NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?,
NSLocalizedFailureReason=A secure connection could not be established. Please check your Date & Time settings.,
NSErrorFailingURLStringKey=https://mydomain/myappanme.plist,
NSUnderlyingError=0x16dd7fa0 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “mydomain.com” which could put your confidential information at risk.",
NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x16e04510>,
NSErrorFailingURLKey=https://anything/myappanme.plist}
我的服务器是这样配置的:
我们获得了 *.mydomain.com
的通配符证书。我们将其移至新服务器,证书对我们测试过的所有浏览器均有效。 (IE、firefox、chrome、safari...)。该证书是典型的 CRT,带有来自 GoDaddy 的捆绑/中间证书和 key 。 https 站点加载没有问题。 Apache 2.4 和 Linux Fedora 20。
安装应用程序的下载地址是:
itms-services://?action=download-manifest&url=https://mydomain/resources/myappanme.plist
可能重复的问题(全部尝试)
-) The certificate for this server is invalid
-) iOS Enterprise OTA distribution Unable to Download Application -) http://www.nefkens-ict.nl/enterprise-build-does-not-install/
提前致谢
最佳答案
试试下面的链接,这将帮助您解决这个证书问题
http://cases.azoft.com/how-to-fix-certificate-is-not-valid-error-on-ios-7/
关于ios 7.1 企业分发服务器的证书错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22561493/