×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Jun 2011
    Location
    Nasik India
    Posts
    39

    J2ME Signing with timestamping

    Hello Developers,

    I want to sign my J2ME midlets with time-stamp. i follow the following simple procedure.

    1) Sign the J2ME apps using Thwate certificates.
    2) Adding the time-stamp using following command which is executing successfully

    jarsigner -tsa https://timestamp.geotrust.com/tsa -keystore <keystore_filename> <path to Applet (ie. C:\TestApplet.jar)> <alias_name>

    My app is working fine if i don't time-stamped them, if I time-stamp the app, and execute it on My nokia-c3 device it says "Invalid Application delete?".

    Can anyone please let me know how to overcome this.

    Procedure for timestamp - https://search.thawte.com/support/ss...=AGENT_REFERAL

    Please help me regarding this.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: J2ME Signing with timestamping

    My app is working fine if i don't time-stamped them, if I time-stamp the app, and execute it on My nokia-c3 device it says "Invalid Application delete?".
    Please check the date&time settings on your Nokia C3, take a timestamp from device (it should be greater then the the Timestamp of the app certificate).
    This might have caused due wrong timezone settings on your device also.

    Try the to install the same app signed with TSA the next day on C3...
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Registered User
    Join Date
    Jun 2011
    Location
    Nasik India
    Posts
    39

    Re: J2ME Signing with timestamping

    Quote Originally Posted by im2amit View Post
    Try the to install the same app signed with TSA the next day on C3...
    Thanks for replying..

    No. its not working for me even though I have changed the Date on my device to 20th May 2012.

    Changes occur after executing following command -
    jarsigner -tsa https://timestamp.geotrust.com/tsa -keystore <keystore_filename> <path to Applet (ie. C:\TestApplet.jar)> <alias_name>

    1) Two files get added in META-INF directory of jar file after executing above command.
    2) Size of Jar file gets increased.
    3) Some information is appended in MANIFEST.MF file of META-INF directory.

    Thanks..

  4. #4
    Nokia Developer Expert
    Join Date
    May 2012
    Posts
    224

    Re: J2ME Signing with timestamping

    Hi Visha.vpb,
    Also check "Why doesn't my signed midlet work?" at http://javaverified.com/Why_doesnt_m...d_midlet_work2
    verify your application with first and fourth common problem "midlet attributes are same in JAD and JAR manifest files, and date and time are not correctly set".

  5. #5
    Registered User
    Join Date
    Jun 2011
    Location
    Nasik India
    Posts
    39

    Re: J2ME Signing with timestamping

    @ bandarap - I have check all the possibilities. But stiil getting same error.
    Is it possible to timestamp java mobile apps.?
    I dont want to re-submit all the apps when my certificates got expired.
    Please help me.

  6. #6
    Nokia Developer Expert
    Join Date
    May 2012
    Posts
    224

    Re: J2ME Signing with timestamping

    Hi vishal.vpb,

    Procedure for timestamp - https://search.thawte.com/support/ss...=AGENT_REFERAL
    Is for signing applets that don’t have JAD, but in mobile device you need JAD. Otherwise Nokia devices don’t recognize the jar.

    In the same above link see the following text:“If you are Signing MIDlets please see solution SO16957 to sign using JADTool command line utilityUse jar to bundle your Applets or applications as a JAR file.”

    To sign the midlet, follow the instructions given by thawte here . In that case you don't have to timestamp.

  7. #7
    Registered User
    Join Date
    Jun 2011
    Location
    Nasik India
    Posts
    39

    Re: J2ME Signing with timestamping

    Hi bandarap,

    I had followed the same steps...i.e. sign the app using jadtool and then time-stamp it.
    Signed apps working fine. But after time stamping they are giving an error.
    I want to time-stamp my signed apps in order to avoid any interruption in service after expiry of certificates.

    Vishal B

  8. #8
    Nokia Developer Expert
    Join Date
    May 2012
    Posts
    224

    Re: J2ME Signing with timestamping

    Hi Vishal,

    In device prospective, signing the midlet is enough to get the required access. If you want to continue the service with thawte after certificate expires, you can contact thawte about this how they are handling timestamp for midlets. They didn’t mention anything about timestamp for midlet after signing. Your first post link timestamp is for applets.

Similar Threads

  1. Signing a j2me app.
    By as.kulkarni67 in forum Mobile Java General
    Replies: 3
    Last Post: 2012-03-20, 05:07
  2. j2me signing
    By jiten_shah18 in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-10-17, 15:47
  3. J2ME signing
    By ronald29 in forum Mobile Java General
    Replies: 3
    Last Post: 2009-05-14, 09:11
  4. j2me app signing, etc
    By corsc in forum Mobile Java General
    Replies: 6
    Last Post: 2009-03-21, 11:08
  5. Timestamping bluetooth-data
    By fleshgolem in forum Python
    Replies: 0
    Last Post: 2007-09-26, 12:49

Posting Permissions

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