×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Registered User
    Join Date
    Mar 2005
    Location
    Hyderabad, India
    Posts
    19

    How to make a private key and self signed certificate

    Hello All,

    I am facing some problems in cerating private key and self signed certificate

    The symbian help file prescribed the following procedure:

    The process is:

    Invoke the Certificate Generator on the command line, specifying the name of the private key and certificate to be generated, and the given distinguished name string.

    Generate the private key, when prompted, by inputting random data to the window using the mouse. The MSDOS property QuickEdit must be turned off for this mouse mechanism to work.
    I am using the folowing command to gernerate key and certificate:

    makekeys -cert -dname "CN=WiShare OU=S
    ymbian OR=TCSL CO=INDIA EM=arun.sl@tcs.com" WiShare.key WiShare.cer

    and then typing the random charecters, they appear on the screen. I am confused here as the procedure says "Generate the private key, when prompted, by inputting random data to the window using the mouse." I am not very clearly understanding, How I can enter 1024 charecters using mouse!!!

    Finally as I am using this procedure, the following statements appear and without waiting for my input goes to the prompt.

    Warning: the private key should be encrypted with the -password option
    Do you want to use a password (y/n)?

    The result is that there is no key or certificate file generated at all.

    Also I have tried to compile using the -password option but this time eventhough the keys and certificate are generated, when I do compile the sis file and port it onto device while installation it gives System error -6 !

    Thanking you all in anticipation,

    Yours truly,
    Arun S L,
    Hyderabad,India.
    Last edited by arun_sl; 2005-06-27 at 12:32.

  2. #2
    Registered User
    Join Date
    Mar 2005
    Location
    Hyderabad, India
    Posts
    19

    Further details of problem

    Sometimes I dont know how accendentally the keys are generated without password as given here:

    C:\CasestudyMMS\Downloads\BROWSER\install>makekeys -cert -dname "CN=WiShare OU=S
    ymbian OR=TCSL CO=INDIA EM=arun.sl@tcs.com" WiShare.key WiShare.cer
    dghizsdifgsughhghsdfghjdfgsjdhfghajjkgahgjdfdfjngjksdjkhdfhfghf
    Warning: the private key should be encrypted with the -password option
    Do you want to use a password (y/n)? Generating private key...
    A DSA private key has been generated with a keylength of 1024 bits
    Enter private key passphrase:
    Verifying password - Enter private key passphrase:
    Verify failureMove the mouse within the window or press keys to generate random
    data
    ................................................................................
    ...........................random data collected.
    Created certificate WiShare.cer
    C:\CasestudyMMS\Downloads\BROWSER\install>makekeys -view wishare.cer
    Certificate:
    Data:
    Version: 3 (0x2)
    Serial Number: 0 (0x0)
    Signature Algorithm: dsaWithSHA1
    Issuer: C=INDIA, O=TCSL, OU=Symbian, CN=WiShare/Email=arun.sl@tcs.com
    Validity
    Not Before: Jun 27 06:40:51 2005 GMT
    Not After : Jun 27 06:40:51 2006 GMT
    Subject: C=INDIA, O=TCSL, OU=Symbian, CN=WiShare/Email=arun.sl@tcs.com
    Subject Public Key Info:
    Public Key Algorithm: dsaEncryption
    DSA Public Key:
    pub:
    4e:b0:d5:bb:fc:f9:19:ea:29:b6:c0:30:ed:6b:b9:
    ca:dc:7f:83:90:da:68:2e:f7:9d:be:40:96:99:b9:
    5f:95:be:12:7e:02:d3:2c:82:3b:2f:4d:b9:82:82:
    ae:24:b2:a4:2e:84:40:75:e0:f6:c2:de:8d:e2:6c:
    dc:d7:46:f2:a0:67:4c:08:db:b4:94:06:4e:a9:d8:
    c9:b1:25:81:83:f3:8b:5c:87:77:af:ad:37:06:23:
    15:01:42:3a:68:1e:f0:4b:8b:0f:ec:10:ee:c7:dc:
    b3:b3:93:c2:72:f9:e5:e2:a2:bd:98:d7:59:80:fd:
    b4:25:6e:8d:e0:d6:b7:75
    P:
    00:fa:99:b7:b6:70:54:4c:0d:33:d5:52:e4:9f:ba:
    51:10:4c:17:be:77:17:4e:bb:43:6a:7b:87:3c:c0:
    81:f9:2a:29:b7:84:dd:29:07:5f:8a:3b:5a:7d:30:
    f0:d6:50:98:f1:4f:8f:f8:3e:4f:bf:a2:a0:9f:f7:
    a8:28:a4:28:07:a4:e1:9d:52:f4:aa:ac:a1:a3:97:
    aa:50:f7:da:6e:2a:57:c2:9a:f7:ba:ab:77:cc:2c:
    b7:ea:1d:66:0d:65:57:89:cd:7c:7c:11:8b:21:85:
    05:7b:e4:d7:c9:ef:c4:b2:25:23:ac:a5:0e:18:d0:
    af:80:5f:23:b1:c7:6c:fa:17
    Q:
    00:8c:9a:ed:18:ab:e3:7f:ce:3b:ab:61:05:ad:65:
    f1:05:78:cd:f2:89
    G:
    00:a7:dc:f9:67:9a:c0:bf:92:e6:1d:d9:e3:2f:fd:
    92:03:69:77:cb:49:04:a9:2b:7d:3e:07:bc:fb:06:
    04:ac:33:48:98:dd:ad:e2:6a:a7:dd:06:85:1d:e7:
    51:dd:ff:7d:4c:49:b1:e7:bc:ae:a6:eb:50:00:c0:
    1b:a5:14:39:b8:f9:64:26:99:98:88:16:b3:04:ef:
    a2:8b:3b:54:26:16:68:bf:f5:87:18:c4:bc:71:b9:
    54:e8:a0:1f:a0:38:aa:d6:7d:dc:e0:29:b1:40:dd:
    ad:cd:bb:f6:08:84:2d:38:81:6b:71:2a:21:af:b6:
    8a:f1:9c:7e:b5:18:bf:9f:e9
    Signature Algorithm: dsaWithSHA1
    30:2c:02:14:2f:70:0c:c3:14:34:24:c4:3c:a3:93:99:8c:be:
    8e:10:5a:84:60:30:02:14:5d:15:03:b5:10:d5:76:30:7b:64:
    da:0d:31:a1:d8:b7:d1:13:28:6d

    But then while creating sis file the foloowing error occours

    C:\CasestudyMMS\Downloads\BROWSER\install>makesis aBrowserCert.pkg
    Processing aBrowserCert.pkg...
    error: cannot open file, check filename and access rights

  3. #3
    Registered User
    Join Date
    Jun 2005
    Location
    Beijing
    Posts
    4
    try this:
    >makekeys -cert -password yourpassword -len 2048 -dname "yourname" yourkey.key yourcert.cer

    hope helpful.

  4. #4
    Registered User
    Join Date
    Mar 2005
    Location
    Hyderabad, India
    Posts
    19

    System error (-6)

    The keys were generated but while installing the application on device the following error comes:

    Installer:
    System error
    (-6)

  5. #5
    Registered User
    Join Date
    Jun 2005
    Location
    Beijing
    Posts
    4
    You need use "signsis.exe" tool to sign a .sis file.

  6. #6
    Registered User
    Join Date
    Mar 2005
    Posts
    23
    Where can I find signsis.exe?

  7. #7
    Registered User
    Join Date
    Jun 2005
    Location
    Beijing
    Posts
    4
    It can be found in "\epoc\tools"

  8. #8
    Registered User
    Join Date
    Mar 2005
    Location
    Hyderabad, India
    Posts
    19

    signsis.exe not found

    Thank you HantaoCui, for your geniuine help.

    But still I am not able to find the file signsis.exe you have mentioned in whole of my system even, which also have other symbian sdk's installed.

    I have modified the pkg file to incorporate the keys by inserting the command:

    *"C:\CasestudyMMS\Downloads\BROWSER\install\wishare.key","C:\CasestudyMMS\Downloads\BROWSER\install\wishare.cer"

    and while compiling the sis file using makesis command I did provide the passcode correctly and the sis file was sucessfully built, but on 6600 when installed its giving this purticular error System error ( -6) . Normal sis files without the above statement is successfully getting installed on the device.

    Thanking you all in anticipation for all your help,

    Yours truly,
    Arun S L,
    Hyderabad, India.

  9. #9
    Registered User
    Join Date
    Mar 2005
    Location
    Hyderabad, India
    Posts
    19

    Error while viewing application details in app mamager

    Hello,

    I have successfully installed the application with self signed certificate. The problem was that I was using country code in -dname options as CO=INDIA . Its functioning fine when I had changed it to IN.

    Now still in one of the application I am facing a problem that in the app manager while I am trying to see the details of the installed program, an error is reported


    App Manager:
    System Error
    -20


    Please help me solve this issue,

    Thanking you all in anticipation,

    Yours Truly,
    Arun S L,
    Hyderabad, India.
    Last edited by arun_sl; 2005-06-30 at 10:14.

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

    How to make a private key and self signed certificate

    im presently making my own theme for my nokia s60v5 phone via Carbide.ui.
    I have finished making the theme and now wish to proceed to the self-sign and certify process. Im finding it tough and confusing as well. Please if you could guide me through the process of creating keypairs and certificate for self signing the theme so that i can install and use it on my cellphone.

  11. #11
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    200

    Re: How to make a private key and self signed certificate

    Uh, this is 5 year old thread!

    However wiki has instructions fot you http://www.developer.nokia.com/Commu...gn_Certificate

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

    Re: How to make a private key and self signed certificate

    yea..i noticed its 5 year old..but my problem is new! :(
    Ill definitely try the wiki link..thanks a lot..but pls if you can help me get through this prob by simple instructions that would be great! Iv spent few hours on my theme and i really want it on my phone now! Thanks again
    Last edited by redcrystal1; 2011-11-22 at 11:51.

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to make a private key and self signed certificate

    Your referral to Carbide.ui has been overlooked apparently. Try this one: http://www.developer.nokia.com/Commu..._theme_package

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

    Re: How to make a private key and self signed certificate

    I followed the steps provided..but while packaging,an error occurs saying..
    The following error occurred in packaging process: the command S60_32_AKNSKINDESCCOMPILER.exe execution failed.

  15. #15
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to make a private key and self signed certificate

    This one is the Symbian C++ board ("Discussion > Development Platforms > Symbian C++ > Symbian Tools & SDKs"), and not many of us is familiar with Carbide.ui.
    Note that there is a specific board for that, "Discussion > Multimedia Technologies > Themes and Mobile Design > Themes/Carbide.ui", http://www.developer.nokia.com/Commu...mes-Carbide.ui is the direct link. I suggest re-asking this question there.

Posting Permissions

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