Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: cannot install applications because the certificate is not valid

cannot install applications because the certificate is not valid error from my iphone when trying to install an application, running the latest update 7.1

iPhone 4S, iOS 7.1

Posted on Mar 11, 2014 11:34 AM

Reply

Mar 11, 2014 10:35 PM in response to domenicfromon In response to domenicfromon

The reason for this error is because in iOS 7.1 Beta, the link to the plist must be in https format.

If the URL is not provided to you in https format, simply change the http to https, as follows:

itms-services://?action=download-manifest&url=https://hostname.utest.com/OTA_App _Name.plist

Then, copy and paste the entire link (starting at itms-services) into Safari, and you will be able to download and install the app using OTA.

Mar 11, 2014 10:35 PM

Reply Helpful (1)

Mar 12, 2014 2:07 AM in response to kkoishi In response to kkoishi

Hi,


You cannot publish any enterprise build in app store. If you are developing in-house app, you might have used enterprise membership of apple.
Only you need to do is to upload your manifest.plist file in drop box (or any solution, which is ease to you) and get the link. Use this link. Let the remaining files in thier own place.



a quick-and-dirty way of getting around this is to put the manifest plist into Dropbox, and then using the Dropbox web interface to get a direct https link to it ('Share link' -> 'Get link' -> 'Download').

One downside is that the install dialog will now read "dl.dropbox.com wants to install [whatever]".

The actual ipa can remain wherever you always served it from. You'll need to URL-encode the plist's URL before inserting it into the itms-servivces URL's query (although just replacing any &s with %3D might work).

Mar 12, 2014 2:07 AM

Reply Helpful

Mar 12, 2014 2:09 AM in response to kkoishi In response to kkoishi

  1. upload your app.plist to dropbox
  2. get shared link of app.plist, like https://www.dropbox.com/s/qgknrfngaxazm38/app.plist
  3. replace
    www.dropbox.com
    with
    dl.dropboxusercontent.com
    in the link, likehttps://dl.dropboxusercontent.com/s/qgknrfngaxazm38/app.plist
  4. write your
    download.html
    like
    <a href="itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/qgknrfngaxazm38/app.plist">INSTALL!!</a>
  5. upload the
    download.html
    to dropbox
  6. get shared link of download.html, like https://www.dropbox.com/s/gnoctp7n9g0l3hx/download.html
  7. replace
    www.dropbox.com
    with
    dl.dropboxusercontent.com
    in the second link as well, likehttps://dl.dropboxusercontent.com/s/gnoctp7n9g0l3hx/download.html

Now, visit

https://dl.dropboxusercontent.com/s/gnoctp7n9g0l3hx/download.html
in your device, you can install the app like before.

WHAT A WONDERFUL WORLD!

Mar 12, 2014 2:09 AM

Reply Helpful (4)

Mar 12, 2014 5:44 AM in response to domenicfromon In response to domenicfromon

Hello,


I set this way, using httpS, even my domain not having SSL certification, and failed. A message that can not connect appears.


<html>

<a href="itms-services://?action=download-manifest&url=https://www.xxxx.com.br/ios/xxxxx/portalcliente/prod/XXXXTeste.plist">XXXXX-Mobile IOS(Homologação*)</a>

</html>


What can I be doing wrong?


Thank you.

Mar 12, 2014 5:44 AM

Reply Helpful

Mar 27, 2014 11:12 PM in response to Web Innovations In response to Web Innovations

You can use self-signed certificates but they must be added to the device in an additional step, e.g.:

http://blog.httpwatch.com/2013/12/12/five-tips-for-using-self-signed-ssl-certifi cates-with-ios/


On enterprise level that shouldnt be an issue though - especially not if you have a anyway trusted root CA.


Odd is that iOS 7.1 insists on a https link for the app manifest, however it does not complain if there are normal http links to the actual app inside the manifest. Would that be a bug, apple?

Mar 27, 2014 11:12 PM

Reply Helpful

Apr 7, 2014 8:59 PM in response to domenicfromon In response to domenicfromon

Why would Apple do this? It's only making life more difficult on the developers. I used the http distribution as a simple means to host the test apps for my clients to test from my web server. They already have provisioning profiles to protect downloading who knows what from who knows where. Maybe now we should just upload it on the app store and hope it works. Realistically, I have to explain the extra several hundred dollars in time or 400 dollars for an SSL cert and dozens of hours getting my server configured, that I am going to charge my client due to this. But unfortunately for me, some of my contracts are fixed price.


Thanks Abdul Yasin for finding a work around. Hopefully they won't start rejecting app installations that are downloaded from Dropbox.

Apr 7, 2014 8:59 PM

Reply Helpful

May 5, 2014 9:06 PM in response to supernat12 In response to supernat12

I agree ! I do not need a more difficult time trying to get my app tested by my friends. If I was a full time on this it would be okay but it has not gotten to that point yet.


I will hunt around for more information on this since this discussion does not seem to be complete enough for me to get it to to work.

May 5, 2014 9:06 PM

Reply Helpful

May 6, 2014 9:55 PM in response to art a m In response to art a m

well, I am probably speaking too soon but my hosting service is sending a certificate for secure hosting. I costs $15 out right then a $2 monthly. So this little diversiono is not that bad. But still when you are doing part time development and diversion on the process sure can freak you out ... So I apologize for freaking out

May 6, 2014 9:55 PM

Reply Helpful
User profile for user: domenicfromon

Question: cannot install applications because the certificate is not valid