在 iOS 7.1 之后,如果我们想要无线部署我们的企业应用程序,manifest.plist 文件的 URL 必须是 HTTPS。
例如:
itms-services://?action=download-manifest&url=https://example.com/manifest.plist
在我的服务器中,我使用自签名 SSL 证书。当我在 iPhone 上点击 URL 时,它显示 Could not connect to <ip-address>
并记录典型的
NSUnderlyingError=0x15d37040 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be `<ip-address>`, which could put your confidential information at risk.
所以,我想知道我是否可以使用自签名SSL证书?
如果可以,我该如何解决我遇到的问题?
最佳答案
首先让用户在他们的设备上安装自签名 SSL 证书。或者使用经过验证的免费 SSL 服务。
您需要让用户安装此文件 https://superuser.com/questions/97201/how-to-save-a-remote-server-ssl-certificate-locally-as-a-file
我相信此服务提供浏览器验证的 SSL 证书。 https://www.startssl.com/?app=1
关于ios - 我可以使用自签名 SSL 证书服务器通过无线方式部署企业应用程序吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20985494/