×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    26

    Certificate error. Contact to the application supplier

    I am installing a J2ME Mobile Application on Nokia N 73 device and i am getting the following "Certificate error. Contact to the application supplier".
    I have already installed on N95 and Nokia 9300 and Nokia 9500 and i don't have any problem.
    I have tried to change in the "App. manager" the "Software installation" from "Signed only" to "All" but i am still facing the same problem.
    Also, some threads have mentioned to change the mobile date and time, i have change them but i am still getting the error
    Does anyone has an idea about it?
    I will append the Jad file in this thread.

    MIDlet-1: Fransi Mobile,/pictures/intro.png,com.AlFransi.AlFransi
    MIDlet-Jar-Size: 193621
    MIDlet-Jar-URL: FransiMobile.jar
    MIDlet-Name: FransiMobile
    MIDlet-Permissions: javax.microedition.io.Connector.http, javax.microedition.io.Connector.https
    MIDlet-Vendor: Vendor
    MIDlet-Version: 1.4.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-2.0

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Certificate error. Contact to the application supplier

    So the MIDlet is not signed, right?
    Have you tried installing the MIDlet using JAR file only?

    Hartti

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    26

    Re: Certificate error. Contact to the application supplier

    Yes the MIDlet is not signed.
    I am installing the MIDlet using Nokia PC Suite

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Certificate error. Contact to the application supplier

    Is the JAR totally "normal"? Like no obfuscation, normal JAR/ZIP compression, etc?

    Hartti

  5. #5
    Registered User
    Join Date
    Jan 2007
    Posts
    26

    Re: Certificate error. Contact to the application supplier

    there is obfuscation for the jar file, but i tried it today with two Nokia N 73 , it works on one but i didn't work on the other. It always gives me "Certificate error. Contact to the application supplier". Is it related to the OS. but the OS version are different, the working one is published on 01-2007 and the one that i am facing a problem is published on 10-2006

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Certificate error. Contact to the application supplier

    Did you manage to install any JAR files on that device?

    Hartti

  7. #7
    Registered User
    Join Date
    Jan 2007
    Posts
    26

    Re: Certificate error. Contact to the application supplier

    yes have copied the jar file to the device , and i have installed it from the device itself, but the jar file is obfuscated.but i m still getting the same problem "Certificate error. Contact to the application supplier".

  8. #8
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Certificate error. Contact to the application supplier

    With any I meant any other unsigned MIDlet. like HelloWorld?

    Hartti

  9. #9
    Registered User
    Join Date
    Mar 2004
    Posts
    11

    Re: Certificate error. Contact to the application supplier

    Hello,

    I had a similar problem that one of my Midlets did not install on the Nokia N95 with the same error message as yours although I was able to install it on other phones (N70).
    It turned out that the problem was, that I tried to import "com.sun.midp.io.Base64" in one of my classes which of course does not exist on the real device (it worked fine on the emulator).

    Maybe there's a similar problem in your case?

    Thomas

  10. #10
    Registered User
    Join Date
    Dec 2008
    Posts
    1

    Re: Certificate error. Contact to the application supplier

    Hi! I'm getting the same "Certificate error. Contact to the application supplier" when I install a JAR application I've programmed with netbeans and tested in an emulator.
    Did anyone solve that problem?

    Thanks!

  11. #11
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Certificate error. Contact to the application supplier

    What certificate did you use to sign your MIDlet?

    Hartti

  12. #12
    Registered User
    Join Date
    Jan 2009
    Posts
    1

    Re: Certificate error. Contact to the application supplier

    This error, like oe3vsfm4 said, occurs when a class that is not present in the device is used in the code.
    I had this error trying to using in my code the CalendarImpl class

  13. #13
    Super Contributor
    Join Date
    Jan 2008
    Location
    Amravati, India
    Posts
    546

    Re: Certificate error. Contact to the application supplier

    Really?

    If for instance I have a class Class1 which uses Bluetooth API and I have code in my main MIDlet class that if Bluetooth API is supported then only create object of Class1 else don't create. Now if I install this application on a phone without Bluetooth API support then will my application not start only or it will start and run properly in following case:

    Case 1: My application is signed with VeriSign

    Case 2: My application is not signed

  14. #14
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Certificate error. Contact to the application supplier

    If for instance I have a class Class1 which uses Bluetooth API and I have code in my main MIDlet class that if Bluetooth API is supported then only create object of Class1 else don't create.
    When a class is linked (after it is loaded, before it is initialised), all classes it references must be loaded.

    For example:

    Code:
    // THIS DOESN'T WORK
    
    class Main {
        public static void main(String[] args) {
            try {
                // this will throw an exception if the API is not supported
                Class.forName("com.manufacturer.specialapi.SomeClass");
    
                // it didn't throw an exception, so API must exist
                new UsesOptionalAPI().doOptionalThing();
            } catch (Exception e) {
                // API not supported
            }
        }
    }
    
    class UsesOptionalAPI {
        public void doOptionalThing() {
            com.manufacturer.specialapi.SomeClass.doThing();
        }
    }
    Because the bytecode in Main refers to UsesOptionalAPI, before any code in Main can be executed, UsesOptionalAPI must be loaded. UsesOptionalAPI contains a reference to the optional API, so it can't be loaded and linked successfully. Therefore, Main can't be linked either.

    So, this won't run.

    Instead, do it like this:

    Code:
    class Main {
        public static void main(String[] args) {
            try {
                // this will throw an exception if the API is not supported
                Class.forName("com.manufacturer.specialapi.SomeClass");
    
                // it didn't throw an exception, so API must exist
                OptionalAPI optional = (OptionalAPI) ((Class.forName("UsesOptionalAPI")).newInstance());
                optional.doOptionalThing();
            } catch (Exception e) {
                // API not supported
            }
        }
    }
    
    interface OptionalAPI {
        public void doOptionalThing();
    }
    
    class UsesOptionalAPI implements OptionalAPI {
        public void doOptionalThing() {
            com.manufacturer.specialapi.SomeClass.doThing();
        }
    }
    In this case, Main only refers to the interface, which can be loaded fine.

    (Even this might fail on some devices. Certainly, the Motorola T720 does not like it. Class.forName() is problematic on the Nokia 7210, but later Series 40 devices are fine. It works fine on most devices.)

    Cheers,
    Graham.
    Last edited by grahamhughes; 2009-01-21 at 19:03.

  15. #15
    Super Contributor
    Join Date
    Jan 2008
    Location
    Amravati, India
    Posts
    546

    Re: Certificate error. Contact to the application supplier

    Thanks

    This line is to suppress message "The message you have entered is too short. Please lengthen your message to at least 10 characters."

Similar Threads

  1. Trusted Application
    By damien_a in forum Mobile Java General
    Replies: 11
    Last Post: 2012-02-17, 20:49
  2. Signed Application with different certificate
    By red0devil06 in forum Mobile Java General
    Replies: 15
    Last Post: 2009-10-08, 12:10
  3. Certificate Error Contact the application supplier in Nokia E61
    By mmdfarook in forum Mobile Java General
    Replies: 22
    Last Post: 2009-09-25, 10:14
  4. AutoStart My application at bootup
    By prakashs in forum Symbian
    Replies: 7
    Last Post: 2009-03-24, 10:06

Posting Permissions

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