×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    14

    certifcate/signing problem an a "nokia 2710 navigation edition"

    Hello,

    I have developed and signed (thawte certificate) a java programm with the wtk V2.3 from sun.

    By installing it on a "nokia 6110" with "nokia application installer" there is a installation process with several messages on the phone.
    It works fine.

    The same thing on "nokia 2710 navigation edition" brings no messages on the phone. The files are only copied to the chosen destination.
    When I try to start the programm there is a message "invalid programm, delete?".
    When I look at the details of the file on the phone there is a information "certificate: no".

    Can anybody help me?

    Best regards
    Uwe Krause

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Hello Uwe Krause,

    can you provide the JAD contents here for check?

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Registered User
    Join Date
    Jun 2010
    Posts
    14

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Quote Originally Posted by r2j7 View Post
    can you provide the JAD contents here for check?
    r2j7
    How can I provide files here?

    Is if enough to paste the JAD-file in the post?
    I try ...

    MIDlet-1: FileBrowser, , example.fc.FileBrowser
    MIDlet-2: JSR75 PIM APIs, PDAPDemo.png, example.pim.PIMDemo
    MIDlet-Jar-Size: 21156
    MIDlet-Jar-URL: PDAPDemo.jar
    MIDlet-Name: PDAPDemo
    MIDlet-Permissions: javax.microedition.pim.ContactList.read,javax.microedition.pim.ContactList.write,javax.microedition.pim.EventList.read,javax.microedition.pim.EventList.write,javax.microedition.pim.ToDoList.read,javax.microedition.pim.ToDoList.write,javax.microedition.io.Connector.file.read,javax.microedition.io.Connector.file.write
    MIDlet-Vendor: Unknown
    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M6Axhi9odHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUHJlbWl1bVNlcnZlckNBLmNybDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwMwDgYDVR0PAQH/BAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwyLTE0NDANBgkqhkiG9w0BAQUFAAOBgQB2spzuE58b9i00kpRFczTcjmsuXPxMfYnrw2jx15kPLh0XyLUWi77NigUG8hlJOgNbBckgjm1S4XaBoMNliiJn5BxTUzdGv7zXL+t7ntAURWxAIQjiXXV2ZjAe9N+Cii+986IMvx3bnxSimnI3TbB3SOhKPwnOVRks7+YHJOGv7A==
    MIDlet-Jar-RSA-SHA1: c5PAqJAKulAxLue8kGn9oaJe+PMYkIQ03K9A1mHMPuUAEFLvnfUbQKneZejG88tzmn+wTArRmzZ3BJPbyMvK0ayG235Q/0+5AeFOe97csNPu1CaeG/KcLyjuUlAkalid/9Ca+VCbJNS4htzvvVVkTMWddTE5oBUY5otiAwpwYxQ=
    Last edited by gutesoftware_krause; 2010-06-04 at 06:57. Reason: pasting JAD content

  4. #4
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Hello Uwe Krause,

    thank you for the JAD contents, this suffices fine.

    Based on the cert info, there should not be any reason why the application cannot be installed.

    I tested couple of Thawte signed applications with Nokia 2710 Navigator, they installed ok and do not give the 'Invalid application' prompt.

    When I look at the details of the file on the phone there is a information "certificate: no".
    How do you check this?


    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  5. #5
    Registered User
    Join Date
    Jun 2010
    Posts
    14

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Hello r2j7,

    thanks for your response!

    When I look at the details of the file on the phone there is a information "certificate: no".
    Quote Originally Posted by r2j7 View Post
    How do you check this?
    The phone is in my office so i can't take a look at it, but i saw this information when i press the left button ("options"?) on the file and choose "details" or so.
    It is the the same place were the settings for the programm are made: rights, data access, ...

    Is it right that there is no "installation process with several messages on the phone" on 2710 like on Nokia 6110?

    The programm is also not listet anywere so i have to go to the file on the memory card to start the programm, is that realy ok?
    (a installation to phone memory also does'n work)


    Best regards
    Uwe Krause

  6. #6
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Is it right that there is no "installation process with several messages on the phone" on 2710 like on Nokia 6110?
    Yes you are right on this: Nokia 2710 Navigator is a Series 40 device which does not show installation process messages when a Java application is installed; whereas Symbian devices like Nokia 6110 Navigator will show the installation notifications for end user. This is platform dependent and, therefore accordingly the defined context, normal.

    The programm is also not listet anywere so i have to go to the file on the memory card to start the programm, is that realy ok? (a installation to phone memory also does'n work)
    Do you mean that you can install on memory card of Nokia 2710 Navigator, but not on it's phone memory? What happens if you try to install it on phone memory?

    Regards,
    r2j7
    Last edited by r2j7; 2010-06-04 at 20:29.
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  7. #7
    Registered User
    Join Date
    Jun 2010
    Posts
    14

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Quote Originally Posted by r2j7 View Post
    Do you mean that you can install on memory card of Nokia 2710 Navigator, but not on it's phone memory? What happens if you try to install it on phone memory?
    r2j7
    The Nokia Application Installer allows to choose the phone memory and the memory card as destination.
    In both case the same reaction "invalid programm, delete?"

    If you tell me how i can send you the JAD- & JAR-File and you can see the problem.

    Best regards
    Uwe Krause

  8. #8
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    check the date&time of the device - this should be in the range for which your certificate is valid.
    or Try OTA installation on your 2710.

    thanks,
    Ekta

  9. #9
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Hello Uwe Krause,

    I tested this, and it seems that this is related to the intermediate certificate i.e. the lines MIDlet-Certificate-1-2 and MIDlet-Certificate-1-3 in the JAD file. In addition to signing the application and testing it again (worked fine when launched on target device, Nokia 2710 Navigator), I found out the following for the Thawte signature:

    -With the current JAD file lines, the 'Certificate: no' will be shown for the application when checked from Options -> Details (this is what you verified already in the beginning).

    -I edited JAD file, removed the certificate data for MIDlet-Certificate-1-2 and put certificate data for MIDlet-Certificate-1-3 in place (and removed MIDlet-Certificate-1-3 altogether). Now the Options -> Details show 'Certificate: yes' with CA info but still invalid application gets shown.

    -I edited JAD file, removed the line MIDlet-Certificate-1-2 altogether (MIDlet-Certificate-1-2 attribute and it's value i.e. certificate data) and tried to launch the application. Now application launched fine and access settings can be configured from 'Application access' to set as 'Always allowed'.

    So it seems that this is due to the Thawte signature for the application.

    Did you perform the signing with guidelines like?: http://wiki.forum.nokia.com/index.ph...ng_for_Java_ME

    Regards,
    r2j7
    Last edited by r2j7; 2010-06-07 at 13:58.
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  10. #10
    Registered User
    Join Date
    Jun 2010
    Posts
    14

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Hello r2j7,

    Thanks for your efforts in solving my problem.
    I tried the modifikation at the JAD-file and it works fine!
    So I have to take a look at my singing process.
    (I'm only astonished that it works on a "Nokia 6110 Navigator" without this modifikation).

    The programm which I send to you is a sample program from the sun wireless toolkit.

    A few months ago I tried to install MY programm (not the sample program) on a "Nokia 6210 Navigator" and I get a "certifikat error".
    Can you please check if your modifikation of the JAD-file allows to install the sample program on a "Nokia 6210 Navigator" because it is now at my customer.

    Another custumer with a "Nokia C5" was able to install the sample program.
    But when he tried to install MY program he get an error "authorization failed".
    I think it's not a certifikat problem. Maybe it's a problem with the MIDlet-Permissions in the JAD-file but I think that I don't use any api which is not supported by the handy.
    What can I do to get rid of the problem? What are possible reasons for the error "authorization failed"?

    Best regards
    Uwe Krause

  11. #11
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Hello Uwe Krause,

    A few months ago I tried to install MY programm (not the sample program) on a "Nokia 6210 Navigator" and I get a "certifikat error".
    Can you please check if your modifikation of the JAD-file allows to install the sample program on a "Nokia 6210 Navigator" because it is now at my customer.
    I checked and unfortunately I have bad news: unfortunately Nokia 6210 Navigator does not support Thawte signed Java MIDlets. This is known limitation specific for that device. Other devices affected by this Thawte limitation include: Nokia 5320, Nokia 6210, Nokia 6650 and Nokia 6555.

    Another custumer with a "Nokia C5" was able to install the sample program.
    But when he tried to install MY program he get an error "authorization failed".
    I think it's not a certifikat problem. Maybe it's a problem with the MIDlet-Permissions in the JAD-file but I think that I don't use any api which is not supported by the handy.
    What can I do to get rid of the problem? What are possible reasons for the error "authorization failed"?
    This does indeed sound like related to the MIDlet-Permissions.

    Do you use some Permissions for APIs which you do not use in the src code? The authorisation is performed against the corresponding APIs which means that the APIs should exist on src code if the related Permission are defined by MIDlet-Permissions in JAD.

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  12. #12
    Registered User
    Join Date
    Jun 2010
    Posts
    14

    Re: certifcate/signing problem an a "nokia 2710 navigation edition"

    Hello r2j7,

    Thanks for checking my points.

    Did I get it right, I can get "authorization failed" if I don't use all api calls which are listen in the JAD-file because I put the on the permission list of my project in wtk?

    Best regards
    Uwe Krause

Similar Threads

  1. Problem MMC+USB Connection
    By Fede81 in forum Symbian
    Replies: 1
    Last Post: 2007-06-14, 06:13
  2. Problem MMC+USB Connection
    By Fede81 in forum General Development Questions
    Replies: 3
    Last Post: 2006-07-19, 15:21
  3. Problem with Navigation icon.
    By khurshed79 in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-10-03, 04:04
  4. Problem with navigation pane
    By huwell in forum Symbian
    Replies: 3
    Last Post: 2004-06-22, 10:04
  5. Problem with navigation pane. Please help me.
    By Nokia_Archive in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2002-06-03, 02:52

Posting Permissions

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