×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    2

    MIDlet Permissions & Signing

    When using the MIDlet-Permissions-Opt attribute I am not able to install a signed MIDlet to a 6630 or 6680. If I move the the Opt permissions to the MIDlet-Permissions attribute it install fine when signed. If the MIDlet is not signed when using the MIDlet-Permissions-Opt attribute it also installs fine.

    Does anyone have any idea why having the MIDlet-Permissions-Opt would fail to install when signed? Here are the permissions that I am using:

    MIDlet-Permissions-Opt: javax.microedition.io.PushRegistry, javax.microedition.io.Connector.sms, javax.wireless.messaging.sms.receive

    MIDlet-Permissions: javax.microedition.io.Connector.http, javax.microedition.io.Connector.https

    Both the JAD and JAR Manifest have these above permissions. Again, if only the MIDlet-Permissions attribute is used the apps installs when signed. So I do not believe its a JAD/JAR.

  2. #2
    Regular Contributor
    Join Date
    Mar 2004
    Location
    Sacramento
    Posts
    50

    Re: MIDlet Permissions & Signing

    Actually you are using Nokia's Phone, which is lacking in the Security root certificate.

    You can find about more device details from the following link
    http://www.javaverified.com/supp_devices.jsp

    Following are the quotations from Nokia's Source.


    --------------------------------------------------------------------------
    The root certificate for Java Verified is missing in the early Series 40 and Series 60 Platform 2nd Edition devices.

    The following Series 40 Platform 2nd Edition and Series 60 Platform 2nd Edition devices don’t have the root certificate for Java Verified (Geotrust CA for UTI):

    Nokia 6600

    Nokia 6230

    Nokia 3220

    The root certificate is needed for the installation of Java Verified tested applications. The root certificate is missing because the shipments of these specific devices started before the certificate was actually available.

    Detailed description
    The Java Verified testing and certification program uses a UTI root certificate (also known as “GeoTrust CA for UTI”). This root certificate is missing from the Nokia 6600, Nokia 6230, and Nokia 3220 devices. When this root certificate is missing, the Java Verified tested applications cannot be installed.

    If a Java Verified tested application is trying to be installed and a UTI root certificate is missing, the following error message is shown:


    There is no way to install the Java Verified tested application as a trusted third-party application if the UTI root certificate is missing.

    Solution / Workaround
    If a MIDlet has been signed with a certificate for Java Verified applications, it can be installed if the following attributes are removed from the JAD file:

    MIDlet-Certificate-1-1

    MIDlet-Jar-RSA-SHA1

    Without these lines the MIDlet is treated as untrusted (MIDP 1.0 MIDlets are treated as untrusted), and it thereby gives a warning message during the installation. This makes the application appear as if it were unsigned, but it is possible to install the application similarly as any unsigned application. When the MIDlet-Certificate-1-1 and MIDlet-Jar-RSA-SHA1 are removed, the MIDlet-Permissions attribute becomes redundant and it can be removed as well. Another possibility is to use only the JAR file for the installation. Also in this case the MIDlet is treated as an untrusted MIDlet.

    --------------------------------------------------------------------------

    Hope this will describe much about your problem as well as about solution.

Similar Threads

  1. MIDlet signing with Thawte cert for 6600
    By kersing in forum Mobile Java General
    Replies: 3
    Last Post: 2008-03-07, 05:41
  2. Thawte Certificate OK for MIDlet signing?
    By heeb in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2005-10-15, 19:17
  3. MIDlet Signing (URGENT -- PLEASE HELP ME NOKIA EXPERTS)
    By earamsey in forum Mobile Java General
    Replies: 0
    Last Post: 2004-10-25, 23:57
  4. Midlet Signing Questions
    By kcarlino in forum Mobile Java General
    Replies: 0
    Last Post: 2004-05-12, 18:17
  5. signing midlet
    By servigo in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2003-12-04, 11:55

Posting Permissions

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