×

Discussion Board

Page 1 of 4 1234 LastLast
Results 1 to 15 of 47
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    8

    Exclamation N95 - Signed app gives 'Unable to Install'

    Hello,

    I've developed a simple app that allows easy uploading of photo's to our website. The app is tested and works well when installed on a N95 - unsigned. Of course, there are a lot of security warnings about accessing the file system and network.

    Recently we purchased a code sign certificate from Thawte to sign our app. Done this I'm no long able to install the app on any N95!

    When I upload the app, the N95 finds the app is trusted/verified, so the certificate is working. However, when I install the app the progress bar stops at about 80% and then gives "Unable to install". I've tried this on at least four different N95 devices, two of which have the lastest firmware installed for sure. I even did a hard-reset on one N95, but that also didn't help.

    A common culprit is the files size in the JAD file. I double-checked this and the number of bytes are correct.

    Does this problem sound familiar to anyone, and how can it be resolved? Below you find the contents of the JAD file, if that helps. (Not that I shortened the certificate hashses for viewing purposes here.

    Code:
    MIDlet-1: Uploader,/org/netbeans/microedition/resources/file.png,nl.kabisa.mgl.uploader.UploaderMIDlet
    MIDlet-Certificate-1-1: MIIDQTCCAqqgAwIBAgIQak
    MIDlet-Certificate-1-2: MIIDTjCCAregAwIBAgIBCjAN
    MIDlet-Certificate-1-3: MIIDJzCCApCgAwIBAgIBATA
    MIDlet-Jar-RSA-SHA1: mNcZ9EEk71F71jPMVp0m2
    MIDlet-Jar-Size: 148176
    MIDlet-Jar-URL: Uploader.jar
    MIDlet-Name: Uploader
    MIDlet-Permissions: javax.microedition.io.Connector.http, javax.microedition.io.Connector.file.read, javax.microedition.securityservice.CMSMessageSignatureService, javax.microedition.io.Connector.ssl, javax.microedition.io.Connector.socket, javax.microedition.io.Connector.cbs, javax.microedition.io.Connector.datagram, javax.microedition.io.Connector.datagramreceiver, javax.microedition.io.Connector.file.write, javax.microedition.io.Connector.https, javax.microedition.io.Connector.serversocket, javax.microedition.content.ContentHandler, javax.microedition.io.Connector.comm
    MIDlet-Vendor: Corp. Name.
    MIDlet-Version: 1.0.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    Re: N95 - Signed app gives 'Unable to Install'

    Try removing MIDlet-Permissions: both from JAD and Manifest.

  3. #3
    Regular Contributor
    Join Date
    Dec 2008
    Location
    Mumbai
    Posts
    199

    Smile Re: N95 - Signed app gives 'Unable to Install'

    hi frnd

    have you checked application installation permission is set to allow or not.
    also check your device date sometimes if date is passed year then it creates problem while installation of application

    thanks
    Ajay Prajapati
    Mobile Software Developer
    Mumbai,India

  4. #4
    Registered User
    Join Date
    Dec 2009
    Posts
    8

    Re: N95 - Signed app gives 'Unable to Install'

    Quote Originally Posted by laker View Post
    Try removing MIDlet-Permissions: both from JAD and Manifest.
    I removed all API Permissions in NetBeans -> Project Properites -> Application Descriptor -> API Permissions. After this, the MIDlet-Permissions lines are no longer in the JAD and Manifest. Still, I get the same "Unable to install" error.

  5. #5
    Registered User
    Join Date
    Dec 2009
    Posts
    8

    Re: N95 - Signed app gives 'Unable to Install'

    Quote Originally Posted by prajapati.ajay View Post
    hi frnd

    have you checked application installation permission is set to allow or not.
    also check your device date sometimes if date is passed year then it creates problem while installation of application

    thanks
    Device is set to allow all apps (not only signed apps). The unsigned app installs fine, the signed one does not.

    Also, the date is correct. I'm not working on RDA (Remote Device Access) and the date and time are set correctly there too. So this can't be teh problem either.

    Any other suggestions? I'd be pulling my hair out right now if I had any.

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    Please, go through a list of common issues.
    Quote Originally Posted by ariejan View Post
    Any other suggestions?
    Nokia offers paid technical support for everyone …
    Last edited by traud; 2011-09-06 at 15:20.

  7. #7
    Registered User
    Join Date
    Dec 2009
    Posts
    8

    Re: N95 - Signed app gives 'Unable to Install'

    Quote Originally Posted by traud View Post
    Please, go through a list of common issues.Nokia offers paid technical support for everyone …
    Is it me or are you linking to 'common issues' for Sony Ericsson? The problem only occurs on Nokia devices.

    I've tried this on multiple N95 devices (this is the only device this app has to run on). I've also tried a N71 (failed) and a HTC Diamond, where the app installed and worked flawlessly.

    My guess is that this is a problem with Nokia only, but I'm not sure of it yet.

  8. #8
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    Quote Originally Posted by ariejan View Post
    Is it me […]
    Yes.
    Again, I recommend to go through that list. At least one you violated already. If another MIDlet works (last crosscheck point), however, yours still not work, then you should go for paid support as you might found a bug.
    Quote Originally Posted by ariejan View Post
    I shortened the certificate hashses for viewing purposes here.
    Not a good idea as it prevents checking your path of certificates. VeriSign issued some broken ones, recently. Furthermore, shortening does not matter in a code tag.
    Quote Originally Posted by ariejan View Post
    MIDlet-Certificate-1-3: MIIDJzCCApCgAwIBAgIBATA
    Not aware of a single phone requiring this. Makes trouble for some devices. Remove.
    Quote Originally Posted by ariejan View Post
    MIDlet-Jar-URL: Uploader.jar
    Some devices require absolute URLs. However, as you say this is just for Nokia, it should not matter here.
    Quote Originally Posted by ariejan View Post
    MIDlet-Permissions: […]
    Are you really sure, your MIDlet requires all those permissions?
    Last edited by traud; 2010-09-02 at 13:41.

  9. #9
    Registered User
    Join Date
    Dec 2009
    Posts
    8

    Re: N95 - Signed app gives 'Unable to Install'

    Quote Originally Posted by traud View Post
    Yes.
    Again, I recommend to go through that list. If you still not able, then you should go for paid support as you might found a bug.
    Yes, I went through the list already. Everything on it has been mentioned on these forums (albeit in different places).

    Kind of funny that I should get paid support when I find a bug. If I did find a bug, I'm doing Nokia's QA work. Nokia should pay me

    Another option is to write off the old N95's and purchase mobiles from another vendor that do work. We had success with HTC.

  10. #10
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    Quote Originally Posted by ariejan View Post
    Kind of funny […]
    I do not make the rules.
    If you gone through that list (why not using it in your JAD?) and read the whole discussion board, you need another support channel like paid technical support.

  11. #11
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    75

    Re: N95 - Signed app gives 'Unable to Install'

    Hi,

    I was going crazy trying to get my signed MIDlet to run on an N95 as 'Trusted Third Party.' I use NetBeans and bought a Thawte certificate. It would install without problem, even when I set the phone to allow only signed apps--but was always untrusted. I was sure I was doing everything right, and I had no problems on a handful of S40 devices (2760, 3610, 6085). I wasted a lot of time trying to get to the bottom of that one. Eventually, I tested on more S60 devices (E62, E72, E75, 5800) and I had no problems on any of them. The N95 is an oddball in some regards.

    I even wrote directly to Traud (he never responded).

    I must say that pointing out that "Nokia offers paid technical support for everyone..." is both obvious and unhelpful, especially when someone is asking a serious-minded question, and has obviously spent considerable time finding, reading, and experimenting with the available information. It would more helpful and courteous to write, "I'm sorry, I don't know what's wrong, and I don't have the time or inclination to look into your problem."
    Last edited by mattbrenner; 2009-12-19 at 18:48. Reason: typo
    Cheers,

    Matt Brenner
    UnME2, Inc.

  12. #12
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    Quote Originally Posted by mattbrenner View Post
    I even wrote directly to Traud (he never responded).
    Do I have to respond? Anyway, I replied via the discussion board …
    Quote Originally Posted by mattbrenner View Post
    I must say that pointing out that "Nokia offers paid technical support for everyone..." is both obvious and unhelpful, especially when someone is asking a serious-minded question, and has obviously spent considerable time finding, reading, and experimenting with the available information. It would more helpful and courteous to write, "I'm sorry, I don't know what's wrong, and I don't have the time or inclination to look into your problem."
    That is your opinion. I do understand your frustration, however, I do not follow you.

    Many developers do not consider Nokia’s paid services. Some developers cannot afford them, however, some are simply not aware of it. Especially, if
    • someone does not follow the recommendations posted
      that is okay, however a reason why would be good
    • does not like to post the public certificates
      that is okay as it would show who you are, however, providing the JAD/JAR then is not possible either
    • does not answer to questions asked
    it is time ask someone trustable – which is Nokia or your certificate supplier. Furthermore, I do not own all devices or firmware variants. If the problem might be related to something like that and my list did not help, then I think it is the easiest and fastest way to go for paid support rather than wasting further (of your) time with community-based support.
    Quote Originally Posted by mattbrenner View Post
    It would more helpful and courteous to write, "I'm sorry, I don't know what's wrong, and I don't have the time or inclination to look into your problem."
    The community-based way is not to post any answer. Otherwise, I could create millions of posts like this all day long. Some cases require the JAD/JAR. Personally, testing those is over my top but does not prevent other members to do so. Again, I recommend anyone to check Opera Mini: It includes a VeriSign or Thawte certificate just as you like.

  13. #13
    Registered User
    Join Date
    Dec 2009
    Posts
    8

    Re: N95 - Signed app gives 'Unable to Install'

    I'm aware of Nokia's paid services. But your motivation for obtaining paid support ("you may have found a bug") is not valid. If I found a bug, Nokia should not fix it at my expense.

    Anyway, can we keep the discussion focussed on the problem of getting my app running on the N95. I'm currently running through the provided list again. Hope it helps.

  14. #14
    Registered User
    Join Date
    Dec 2009
    Posts
    8

    Re: N95 - Signed app gives 'Unable to Install'

    Hey everyone,

    I've just checked everything in the list mentioned before for a third time.

    Here's what my JAD looks like now. Also, the date and time are set correctly. With this JAD, after removing the MIDlet-Certificate-1-3 line, as suggested for Thawte, I get a "Certificate Error".

    Now, I'm not sure if this is due to the missing line in the JAD or the fact that there is actually something wrong with my certificate? I don't get this error with the Certificate-1-3 line included.

    Code:
    MIDlet-1: Uploader,/org/netbeans/microedition/resources/file.png,nl.kabisa.mgl.uploader.UploaderMIDlet
    MIDlet-Certificate-1-1: MIIDQTCCAqqgAwIBAgIQakBQvk3EXeKE8GPTMl9tOTANBgkqhkiG9w0BAQUFADBVMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEfMB0GA1UEAxMWVGhhd3RlIENvZGUgU2lnbmluZyBDQTAeFw0wOTEwMjAwMDAwMDBaFw0xMDEwMjAyMzU5NTlaMHYxCzAJBgNVBAYTAk5MMRYwFAYDVQQIEw1Ob29yZCBCcmFiYW50MQ4wDAYDVQQHEwVCdWRlbDEUMBIGA1UEChMLS2FiaXNhIEIuVi4xEzARBgNVBAsTCkthYmlzYSBJQ1QxFDASBgNVBAMTC0thYmlzYSBCLlYuMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDOHZtTdQHBgsn3rPnQakClJg3kFLjbwgy32LNMw2luyAVcUJTnc2Abh7m4WY3GF1ZwJ+3adOH3NN/o6OSoiDF1B3iW7eeW/d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AMTFlRoYXd0ZSBDb2RlIFNpZ25pbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMa4uSdgrwvjkWll236N7ZHmqvG+1e3+bdQsf9Fwd/smmVe03T8wuNwh6miNgZL8LkuRNYQg8tpKurT85tqI8iDFIZIJR5WgCRymeb6xTB388YpuVNJpofFMkzpB/n3UZHtjRfdgYB0xHaTp0w+L+24mJLOo/+XlkNS0wtxQYK5ZAgMBAAGjgbMwgbAwEgYDVR0TAQH/BAgwBgEB/wIBADBABgNVHR8EOTA3MDWgM6Axhi9odHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUHJlbWl1bVNlcnZlckNBLmNybDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwMwDgYDVR0PAQH/BAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwyLTE0NDANBgkqhkiG9w0BAQUFAAOBgQB2spzuE58b9i00kpRFczTcjmsuXPxMfYnrw2jx15kPLh0XyLUWi77NigUG8hlJOgNbBckgjm1S4XaBoMNliiJn5BxTUzdGv7zXL+t7ntAURWxAIQjiXXV2ZjAe9N+Cii+986IMvx3bnxSimnI3TbB3SOhKPwnOVRks7+YHJOGv7A==
    MIDlet-Jar-RSA-SHA1: mNcZ9EEk71F71jPMVp0m2e9ML2fQ0WEx36TOxXJqtK5cKe8eSlGRjn+KoqheyH97v+qcn71Uw1RnUrS0Gch6sz+oycDJ46g3M8jZkuxePOmmpUs98aZaLF4zI4Ph3nq+HPQieM/BCm01T1YKHqvFJB16u3d7ANkNIDaz5vSOpa0=
    MIDlet-Jar-Size: 148176
    MIDlet-Jar-URL: Uploader.jar
    MIDlet-Name: Uploader
    MIDlet-Vendor: Kabisa ICT
    MIDlet-Version: 1.0.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0

  15. #15
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    Your certificate path builds correctly up to the root. MIDlet-Certificate-x-3 is not required for Thawte, at least here with my Nokia S60 3rd Edition Feature Pack 1 device. You can check yourself: Download the Thawte signed variant Opera Mini with your computer, remove that line and beam it over to your Nokia.

    Make sure Thawte root is present: Nokia N95 » Menu » Tools » Settings » General » Security » Certificate management » Authority certificates » MIDP2 Thawte Premium Server CA » Options » Trust settings » App. installation » Yes.

Similar Threads

  1. Unable to install a Midlet signed with a thawte Certificate
    By nzeyi2008 in forum Mobile Java General
    Replies: 3
    Last Post: 2009-01-22, 06:44
  2. upgraded firmware: unable to install on n95 8gb
    By dkunz in forum Mobile Java General
    Replies: 3
    Last Post: 2008-10-14, 20:40
  3. weird app install issue on N95
    By Larry101 in forum Mobile Java General
    Replies: 13
    Last Post: 2008-03-07, 15:54
  4. symbian signed testing problem.
    By anglina in forum Symbian
    Replies: 0
    Last Post: 2007-02-01, 10:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×