×

Discussion Board

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 34
  1. #16
    Registered User
    Join Date
    May 2007
    Location
    Luleå, Sweden
    Posts
    36

    Re: Installing Root Certificate

    why you want to sign one MIDlet with 2 certificates? I guess you can sign with only one certificate.

    Well! i am wondering, how MIDlet and/or Phone will come to know that which certificate it has to use?

  2. #17
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    55

    Re: Installing Root Certificate

    cause on some phones thawte root or versigin root is not there
    http://freetext.com Free SMS USA * http://sel2in.com Developers Java (J2ME J2EE Desktop Applet) PHP VBA Oracle MySQL * http://minutes-alarm.sourceforge.net/ freeware win min alarm -Tushar Kapila

  3. #18
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    55

    Question Re: Installing Root Certificate

    heres the case

    signed with versign

    uploaded to http://sel2in.in/prjs/pm/r01/cert2/

    (with jad pointing to jar in that folder ie

    MIDlet-Jar-URL: http://sel2in.in/prjs/pm/r01/cert2/PrivateMessage2.jar
    )

    Tested on Nokia 5300 it went fine. User with a Sony Ericsson says:

    I get a message to install PM
    Checking application validity
    Unable to check validity and app. was not installed because Authorization failed.

    then when i told him
    You can view the root certificates on your phone by going to the menu/ Configuration/ Security / View Authorithy certificates - can you see if you have thawte or verisign?

    Thawte Premium
    Thawte Server CA
    Verisign Class1 to 4
    _______________

    so what could be the issue?

    if anyone else can test from http://sel2in.in/prjs/pm/r01/cert2/ and let me know it be great - if the app downloaded ok and started ok. again this app is to send sms and receive sms on a specified port

    Or you can try http://sel2in.in/geis/s1/mda3/cert1/ this one does not try to send SMS
    http://freetext.com Free SMS USA * http://sel2in.com Developers Java (J2ME J2EE Desktop Applet) PHP VBA Oracle MySQL * http://minutes-alarm.sourceforge.net/ freeware win min alarm -Tushar Kapila

  4. #19
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Re: Installing Root Certificate

    Hi all,
    maybe I missed something, but I bought a certificate from thawte and followed the tutorial you posted above.
    Now I have the .p7b certificate file and the .cer file(a backup copy).
    I have to sign my midlet with Eclipse IDE.What I have to do?
    I tried creating a new key pair and importing the .cer certificate and my phone says "Certificate not on Phone".
    I did the same with the .p7b cert (after deleting the previous from the jad) and the result was the same.

    Am I missing something?
    Thanx

  5. #20
    Registered User
    Join Date
    May 2007
    Location
    Luleå, Sweden
    Posts
    36

    Re: Installing Root Certificate

    Hi super_beda,

    Follow the steps from No. 4 in this tutorial:
    http://media.csee.ltu.se/courses/D70...ionsigning.php

    You need to import that .p7b file into the keystore (that you have created in the very beginning of the signing process)

    BTW, which software are you using for creating a keystore and keypairs?

  6. #21
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Re: Installing Root Certificate

    I've already done the step 4 and obtained the .p7b, but i don't manage to correctly sign my midlet.
    I'm using Carbide plugin in Eclipse IDE.
    The company I'm working for gave me only the .cer file.
    So i've followed these steps:

    -Done all as written in Step 4 of the tutorial you posted

    -Create a new key pair with my personal data(clicked on "New Key Pair..")

    -imported the .p7b certificate file(clicked on "Import Certificate")

    -signed my midlet suite(clicked on "Sign...")

    When i install my midlet on the phone it says "Certificate not in phone or SIM".
    What am I doing wrong?

    I have to ask to my company the keystore they used to obtain the certificate and import it using the "Import Key Pair..." function of Carbide?
    Thanx again

  7. #22
    Registered User
    Join Date
    May 2007
    Location
    Luleå, Sweden
    Posts
    36

    Re: Installing Root Certificate

    Hi

    Here you are doing wrong

    -Create a new key pair with my personal data(clicked on "New Key Pair..")

    -imported the .p7b certificate file(clicked on "Import Certificate")
    You cannot create your own key pair to sign MIDlet. Your company has created a Key Pair in a Key Store. Then they have generated CSR file of that Key Pair (that contains company/personal information only). They have sent that CSR file to the certificate authority. Certificate Authority created certificate on the basis of that CSR file. Now, Certificate Authority returned a .cer file and it will only work with the same Key Pair that was used to generate CSR.

    Now, ask your company to provide you Key Store that contains that Key Pair which was used to generate CSR.

    Hope you understand

  8. #23
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Smile Re: Installing Root Certificate

    Thank you for your quick answer!
    Now it's all much clearier.
    So when I'll have the keystore used for generating the CSR from my company I will have to import it in Carbide and then import the certificate file(.p7b or .cer ?)and sign my midlet.
    Is that right?

  9. #24
    Registered User
    Join Date
    May 2007
    Location
    Luleå, Sweden
    Posts
    36

    Re: Installing Root Certificate

    Yes, right!

    OR you can use Java Wireless Toolkit to import certificate. I have no idea of Carbide but I'm sure it will be possible even then.

  10. #25
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Red face Re: Installing Root Certificate

    Ok I obtained the keystore, imported the .cer certificate ( i tried also with the .p7b) but the phone still gives that error.
    I tried to remove the "RSA-SHA" jad entry, the error is no more disoplayed and the midlet starts but the in midlet details (from the phone options menu) there is

    Certificate : No

    What am I doing wrong?
    thanks for your patience!

  11. #26
    Registered User
    Join Date
    May 2007
    Location
    Luleå, Sweden
    Posts
    36

    Re: Installing Root Certificate

    There must/would be three entries in JAD file, check them!

    MIDlet-Certificate-1-1:
    MIDlet-Certificate-1-2:
    MIDlet-Jar-RSA-SHA1:

    Have you created "CertificateForSigningKeyStore.p7b" file that is mentioned in Section 4 of that Application Signing Guide?

    http://media.csee.ltu.se/courses/D70...ionsigning.php

  12. #27
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Re: Installing Root Certificate

    Yes I did that but when I double-click IncludingallCertificates.p7b there is only one certificate in the window, that is the one I bought from Thawte (and not more than one as said in second part of step 4 at step 2.).

    If I select and Open it, this is what is displayed:


    In the General tab:


    Windows does not have enough information to verify this certificate.

    Issued to: CAP (that is my company)
    Issued by: Thawte Code signing CA
    Valid from: 10/12/2007 to 10/12/2008


    In the Certification Path tab, under Certificate Status:

    The issuer of this certificate could not be found.

    Where is the error? did my company order, or send to me the wrong certificate?
    Thanx again

  13. #28
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Re: Installing Root Certificate

    Ok i solved this problem, they gave a corrupted file.
    With the new certificate, following step by step section 4 of the tutorial ( I excluded from the export the Thawte Premium Server CA certificate) I manage to correctly sign and install the midlet.But when I try to start it the phone says:

    Certificate invalid according to phone's date

    What does it mean now?

  14. #29
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Thumbs up Re: Installing Root Certificate

    Ok that was my fault.
    The phone's date wasn't correctly setted.
    It seems to work well now!

    Many Thanks again ZHS, for your support and your tutorial!!:!

  15. #30
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    I would have asked (and searched for) all these questions there…
    Quote Originally Posted by saravanak8 View Post
    how to install root certificate from CA onto Nokia 6131
    For Internet access (SSL/TLS) or (Java) code-signing? Looks like the latter…
    Quote Originally Posted by RicardoPortela View Post
    You cannot install a certificate on the phone. It is just not possible in series 40.
    The phone has a fixed set of trust anchors, which you cannot change.
    You can… (however it will not help for code-signing)
    Quote Originally Posted by tgkprog@gmail.com View Post
    Does anyone know how to sign with 2 certificates
    Please continue there…
    Last edited by traud; 2007-12-13 at 10:59.

Similar Threads

  1. Nokia Tech Specialists, can you help me in installing User Certificate in Nokia 6230i
    By umeshbansal79 in forum Mobile Java Networking & Messaging & Security
    Replies: 17
    Last Post: 2008-01-09, 18:20
  2. Install new root certificate
    By goutamm in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-07-07, 08:56
  3. Self-signed CA certificate
    By blackbuddha in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2006-07-25, 11:03
  4. Root Certificate could not be located
    By arunjadhav_v in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2005-09-01, 14:22
  5. Replies: 1
    Last Post: 2004-05-18, 09:40

Posting Permissions

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