Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting "Cannot install applications because the certificate is not valid" error on iOS 7.1

I'm getting the above mention error when my client update their device to iOS 7.1, and then try to update our app from the AppCenter.

After some searching, i found a post with a similar problem here. But then since i'm in an environment where by the client is using AppCenter to update the apps, i can't be using USB to plugin and install the app for them.

Is there any workaround for downloads via AppCenter until a support is released?

like image 927
ipohfly Avatar asked Mar 24 '14 04:03

ipohfly


2 Answers

A change was introduced to iOS as of iOS 7.1 that requires OTA application installation to take place over HTTPS (rather than HTTP), and no provision exists to allow the user to continue to accept the old behavior (i.e., to permit application installation over HTTP). It is my understanding that this was done as a security enhancement.

In order to do application installations on iOS 7.1 from Application Center, you would need to configure your Application Center to use HTTPS rather than HTTP, using a certificate that will be accepted as valid by your iOS device - that is, either issued by a recognized public CA, or issued by a private CA that you have set up your mobile devices to accept. You can find more information about how to perform this configuration here:

http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/topic/com.ibm.worklight.installconfig.doc/appcenter/c_ac_ssl_config.html

like image 137
patbarron Avatar answered Sep 22 '22 20:09

patbarron


I would add some details. (Just work out this question)

We use self developed app center for our customers, to distribute demo/report apps.

  1. You need SSL certificate. (see the post above) You can buy any kind of public certificate . In some cases you can use self signed certificate previously installed on iOS device by Apple Configurator.

  2. It seems that you don’t have to use https everywhere. Secure URL (https) must have a link to .plist only. The app center web site url and package .ipa url can still be under http.

… and shame on Apple that invents new ways to make developer life hard.

like image 21
sinoptic Avatar answered Sep 21 '22 20:09

sinoptic