OTA (Over the air) IOS 7.1 after change http-https still cannot connect server?

ε祈祈猫儿з 提交于 2019-12-14 00:46:11

问题


For iOS 7.1, when you try to do an OTA install which has an http link to the .plist file, you will get this error: ‘Cannot install applications because the certificate for com.test.com is not valid’ then I have a found ios 7.1 cannot use http anymore.Need to change http to https

like example

itms-services://?action=download-manifest&url=http://www.test.com/OTA_App_Name.plist

to

itms-services://?action=download-manifest&url=https://www.test.com/OTA_App_Name.plist

After i change it still got error "unable to connect www.test.com".I have check all my plist details is correct link.Any Idea?Did i need to set https certificate also?How?


回答1:


iOS requires a certificate it can verify. Maybe you are using a self-sign certificates, these don't work. You can, however, use wildcard certificates, if that helps you in any way.




回答2:


We just had this same issue recently. You have to change the link as you did, but you must also resave the plist. When you archive and distribute for ad/hoc enterprise, you have to enter the app url. enter https://www.test.com/OTA_App_Name.ipa. That fixed it for us, no cert magic.



来源:https://stackoverflow.com/questions/22505206/ota-over-the-air-ios-7-1-after-change-http-https-still-cannot-connect-server

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