Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User jarkkokahk83's Avatar
    Join Date
    Mar 2010
    Posts
    4
    Hi,
    I bought a Code Signing Certificate from Thawte and followed these installing instructions:
    http://wiki.forum.nokia.com/index.ph...te_from_Thawte

    I have no problems importing certificate reply (.crt) to my keystore and I can sign and build my midlet using Netbeans (v6.9.1) with no problems or error messages.

    I also imported root CA:s to keystore (Thawte support recommended) using these instructions:
    https://search.thawte.com/support/ss...tent&id=AR1406

    But when I run midlet in emulator or try to install it in phone (Nokia 6212 NFC) I get error message:
    "Application not supported".

    Midlet installs and works normally without signing.

    I have read almost everything about this from Internet and read Forum nokia threads past four days and beaten my head on the wall, so after that I turned to professionals.

    My phone is Nokia 6212 Classic (v. 06.20, 11-02-09, RM-396, Variant: 00.00) and there is following (Thawte's) Authority Sertificates in Settings:
    - Thawte Code Signing CA
    - Thawte Premium Server CA
    - Thawte Server CA

    And every CA is valid and "App. signing" is checked in certificates "Select use"-menu.
    Last edited by jarkkokahk83; 2010-08-30 at 11:47.

  2. #2
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    Try signing your app using SUN WTK Midlet signing Utility instead of Netbeans.

    Also check the System data & time on the computer you are signing the app also check that on the phone.

    You signed app may not work in emulator as it might not have the matching public root certificate.
    thanks,
    ~Amitabh
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Registered User jarkkokahk83's Avatar
    Join Date
    Mar 2010
    Posts
    4
    I signed using SUN WTK Midlet signing Utility, checked dates&times and installed to phone using Ovi Suite.
    Same result: "Invalid application. Delete?"

    In .jad -file there is following lines about certificates (so there is 3 certificates: which I paid, Thawte Code Signing CA - G2, thawte Primary Root CA):
    MIDlet-Certificate-1-1: MIIDkjCC.... etc...
    MIDlet-Certificate-1-2: MIIEnDCC.... etc...
    MIDlet-Certificate-1-3: MIIERTCC.... etc...
    MIDlet-Jar-RSA-SHA1: py502b... etc...

    Is there some way to check that midlet suite is signed correctly? (hashes calculation match or something else?)
    Or some ideas how to target/search actual reason/cause of that error message?
    Last edited by jarkkokahk83; 2010-08-30 at 20:52.

  4. #4
    Registered User jarkkokahk83's Avatar
    Join Date
    Mar 2010
    Posts
    4
    I got it work.

    It started to work when I removed "javax.microedition.io.file.FileConnection" from "MIDlet-Permissions:" and then signed midlet.
    "Always allowed" is now possible to choose in Application access to everything (but not "Auto-start").
    So finally I got it work!
    Now I must resolve why it won't work with "javax.microedition.io.file.FileConnection" added to MIDlet-Permissions JAD-attribute.

    Thank you!

  5. #5
    Registered User heldal's Avatar
    Join Date
    Apr 2010
    Posts
    15
    Just a thought, but have you set the FileConnection permission as required? If so, then try not to and see if it still won't work.

    Also, if you've added the FileConnection permissions and are trying to overwrite an already installed application without them, your phone might refuse to. So always uninstall before reinstalling if you're changing permission requirements.

  6. #6
    Registered User jarkkokahk83's Avatar
    Join Date
    Mar 2010
    Posts
    4
    Yes, I dropped FileConnection from required permissions, after that I can install midlet properly as signed (trusted third party).
    Midlet's camera-function started to work also when "getSnapshot" permission was added.

Similar Threads

  1. MIDlet signing by thawte certificate
    By baritra in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2010-07-28, 12:59
  2. Thawte signing S40 problem
    By torkay77 in forum [Closed] Publishing to Nokia Store
    Replies: 1
    Last Post: 2010-02-15, 23:41
  3. Signing a S40 CellID midlet with Netbeans
    By kael in forum Mobile Java General
    Replies: 4
    Last Post: 2008-12-02, 19:16
  4. Signing Midlet with Thawte trial certificate
    By ptutino in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2007-01-03, 19:41
  5. Thawte Certificate OK for MIDlet signing?
    By heeb in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2005-10-15, 19:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved