×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    11

    Angry Sign a Midlet with Verisign

    Open WTK 2.5.1
    Open Sign Midlet Utilities
    Make a new key pair
    Generate CSR
    Send CSR to verisign
    Obtain Certificate from verisign
    Save it into a text file with .cer extension


    I install portecle.
    Then load into it a keystore with keypair that make csr..
    load into keypair a ca response.
    save keystore and use it to sign midlet.

    I install into nokia n73.
    Install successful but the http permission is asked anyway.

    What's wrong?

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Sign a Midlet with Verisign

    So the signing was successful, as you were able to install the signed MIDlet.

    The default access rights for signed midlets is NOT "always allowed". You have to change them manually to less restrictive ones.
    On S60 phones you can change the API access settings in Application Manager.

    Note also the even trusted 3rd party MIDlets do not have "always available" as an option for all API groups. Notable exception is messaging, where the highest available option for signed midlets is "ask always"

    Hartti

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    11

    Re: Sign a Midlet with Verisign

    So, the only way to set "always allowed" is to set it manually?
    Is the only way also with a signed midlet?

    I wish to minimize the user interaction for net access and push registry..

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Sign a Midlet with Verisign

    Correct.
    And yes.

    Check this wiki article for more guidance (it is still incomplete, but contains also the API access right tables from MIDP specs)
    http://wiki.forum.nokia.com/index.ph...curity_Domains

    You seem to be working with S60 phones, but in case you want to use Series 40 phones too, note also this known issue
    http://www.forum.nokia.com/document/...40_MIDlets.htm

    Hartti

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    11

    Re: Sign a Midlet with Verisign

    Many thanks for the response!

    I would to ask another question.

    My post is about a simple helloworld midlet, that I signed and install on device correctly.

    But if I try to install more complex project signed I can't install on device, because at the end of installation it show authorizasion failed (on n73 and 6630).

    The keystore that I use for signing is the same!

  6. #6
    Registered User
    Join Date
    Apr 2007
    Posts
    11

    Re: Sign a Midlet with Verisign

    I found the problem:

    This jad string make the error:
    Code:
    MIDlet-Push-1: sms://:6543,package1.Midlet,*
    But I don't understand the reason..

  7. #7
    Registered User
    Join Date
    Apr 2007
    Posts
    11

    Re: Sign a Midlet with Verisign

    I found the reason:

    If I put pushregistry jad static registration I must authorize by jad permission pushregistry and sms (if push registry listen for sms).

  8. #8
    Registered User
    Join Date
    Jan 2008
    Posts
    24

    Re: Sign a Midlet with Verisign

    Hi, in the specification of N73, from this site, say only uti root is a valid certification for this phone, but I see some people get to sign jar without UTI root, using Verisign.

  9. #9
    Registered User
    Join Date
    Jan 2009
    Posts
    6

    Re: Sign a Midlet with Verisign

    yes... you have to add this permission on your jad file

    Code:
    MIDlet-Permissions: javax.wireless.messaging.sms.receive,javax.microedition.io.Connector.sms,javax.microedition.io.PushRegistry
    you have some problem with sms push registry??
    I can't do it work, when I recive the sms the application isn't trigger

  10. #10
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    ricardopcunha, please let us continue there …

Similar Threads

  1. Sign MIDlet...The right steps
    By matteopiccioni in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2009-12-02, 15:31
  2. I'm developing a Midlet on 5300, does it support Verisign?
    By comeasur in forum Mobile Java Networking & Messaging & Security
    Replies: 14
    Last Post: 2007-07-20, 04:38
  3. 技术文档:MIDP 2.0安全机制 与 MIDlet 数字签名
    By wotrust in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 0
    Last Post: 2006-12-30, 07:42
  4. Failed MIDlet install with VeriSign certificate
    By chgru in forum Mobile Java Networking & Messaging & Security
    Replies: 14
    Last Post: 2006-06-06, 16:57
  5. how to sign a midlet for testing purpose
    By PriyankaChaurishia123 in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2006-02-21, 15:45

Posting Permissions

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