×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    130

    Unlock MIDlet: Incorrect SSL server certificate

    Just tried today to unlock Nokia 6212 and got the following error: Incorect SSL server certeficate.
    Could it be that Nokia server certificate has expired or is it something else.
    Last edited by Alex_Polt; 2010-08-17 at 14:38. Reason: Update

  2. #2
    Registered User
    Join Date
    Feb 2011
    Posts
    2

    Re: Unlock MIDlet: Incorrect SSL server certificate

    I also encountered this problem recently. First few attempts to unlock was failed but with Errors likes Service Denied, HTTP Post Failed but finally I was stuck with this error permanently.
    Any one have any solution to this?
    Please advise Thanks.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: Unlock MIDlet: Incorrect SSL server certificate

    [s]I did not try, but what happens if you change the date/time setting to 2009?[/s]
    See answer below. The code-signing certificate (within the JAD) was valid till 2nd January 2016 anyway.
    Last edited by traud; 2014-03-08 at 13:15.

  4. #4
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Re: Unlock MIDlet: Incorrect SSL server certificate

    That doesn't help - Nokia has changed server SSL certificate and Unlock midlet contains specific certificate it expects from server.

  5. #5
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Re: Unlock MIDlet: Incorrect SSL server certificate

    OK, solved by editing expected certificate info...

  6. #6
    Registered User
    Join Date
    Nov 2008
    Posts
    3

    Re: Unlock MIDlet: Incorrect SSL server certificate

    I'm having the same problem...what did you change...something inside the system.properties file in the midlet?

  7. #7
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Re: Unlock MIDlet: Incorrect SSL server certificate

    No, I just edited directly the condition in the class file.

  8. #8
    Registered User
    Join Date
    Oct 2011
    Posts
    4

    Re: Unlock MIDlet: Incorrect SSL server certificate

    @minisystem: Do you mind sharing the details on how to do so? Which class exactly that you modify? Do you use java decompiler? Thanks...

  9. #9
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Re: Unlock MIDlet: Incorrect SSL server certificate

    Constant #380 in p.class, directly with class editor (decompiler doesn't work).

  10. #10
    Registered User
    Join Date
    Oct 2011
    Posts
    4

    Re: Unlock MIDlet: Incorrect SSL server certificate

    @minisystem: Thanks for the lead. CMIIW: If you change that, you'll need to also re-sign the jar, right? Mind sharing the values you assigned to the constant? Any modifications on the certificate in the jad?

  11. #11
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Re: Unlock MIDlet: Incorrect SSL server certificate

    Yes, I've re-signed the jar (with my own certificate). I'm not sure if it's necessary, but I suppose it is (to access SE).
    You don't need to change .jad, that value isn't used. I've changed the constant to
    Code:
    C=US;O=VeriSign, Inc.;OU=VeriSign Trust Network;OU=Terms of use at https://www.verisign.com/rpa (c)10;CN=VeriSign Class 3 International Server CA - G3
    I hope this answers all questions you might have.

  12. #12
    Registered User
    Join Date
    Oct 2011
    Posts
    4

    Re: Unlock MIDlet: Incorrect SSL server certificate

    @minisystem: I've changed the variable to the value you provided. I put the modified class file back into the .jar file. Copy the .jar file to the phone. Then tried to run it on the phone. It gave me a 'No Card Connection' error.

    If I also copy the .jad file (with the MIDlet-Jar-Size parameter adjusted according to the size of the .jar) then a 'Certificate is not on the Phone or SIM'.
    Then, I tried to remove the MIDlet-Jar-RSA-SHA1 and MIDlet-Certificate-1-1 lines in the .jad file, I got the 'No Card Connection' error once again.
    Looking at such behavior, it seems that the certificate in the .jad file matters. It is strange that you're able to run the application without .jad file involvement.
    Are you running the application on Nokia 6131 or different phone? Mine is 6131. Anyhow, if it is not too much, I'm wondering if you're willing to share your modified
    .jad and .jar files? (I will send you my email address) Thanks.

    Quote Originally Posted by minisystem View Post
    Yes, I've re-signed the jar (with my own certificate). I'm not sure if it's necessary, but I suppose it is (to access SE).
    You don't need to change .jad, that value isn't used. I've changed the constant to
    Code:
    C=US;O=VeriSign, Inc.;OU=VeriSign Trust Network;OU=Terms of use at https://www.verisign.com/rpa (c)10;CN=VeriSign Class 3 International Server CA - G3
    I hope this answers all questions you might have.

  13. #13
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Re: Unlock MIDlet: Incorrect SSL server certificate

    As I said, you need to sign the midlet with (somewhen) valid certificate to allow midlet access to internal SE. I suppose you have (had) such certificate and you use it to deploy other midlets on the phone.
    I use my old (currently expired) certificate and set date back for midlet installation.
    I'm not exactly keen on sending app with my certificate somehwere out.

  14. #14
    Registered User
    Join Date
    Oct 2011
    Posts
    4

    Re: Unlock MIDlet: Incorrect SSL server certificate

    @minisystem: currently, we're new to nfc development, and acquiring certificates at the moment will take a long process and perhaps some arguments internally. Anyway, it's our problem. I understand your concern and respect it. Thanks so much for guiding us and sharing with us.

  15. #15
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Re: Unlock MIDlet: Incorrect SSL server certificate

    If you get current certificate usable on available 6212 or 6131, let me know - I'd really like to know that.

    Problem with missing certificate could be solved by using trick with SDK Emulator and phone on external reader - I've seen it mentioned in similar topic here. You can set midlet to trusted even when unsigned and unlock phone using external interface and desktop reader connected to emulator.

Similar Threads

  1. Problems with Unlock Midlet Server Connection
    By beddussa in forum Near Field Communication
    Replies: 27
    Last Post: 2011-06-03, 16:25
  2. Installing self sign SSL certificate and create SSL communicaiton
    By amilak in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-06-09, 14:53
  3. j2me SHA1 Fingerprint SSL Server Certificate
    By Nikolaos in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2009-06-05, 13:53
  4. Unlock MIDlet errors with No Server Connection
    By mmartinleon in forum Near Field Communication
    Replies: 7
    Last Post: 2008-09-25, 09:12
  5. Problem with NFC 6131 Unlock Midlet,No Server Connection
    By chang liang in forum Near Field Communication
    Replies: 2
    Last Post: 2008-03-25, 07:20

Posting Permissions

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