×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    9

    Exclamation Problem when signing .sis file

    Hi,
    I am trying to self sign my .sis file. When trying to do that, I am running into an error with the key file. What am I doing wrong?

    Thanks in advance.
    ravi



    C:\Symbian\9.1\S60_3rd_MR\S60Ex\helloworldbasic\sis>makekeys -cert -password myp
    ass -len 2048 -dname "CN=Test User OU=Development OR=Company CO=US EM=rmulam@gma
    il.com" mykey.key mycert.cer
    Generating private key...
    Move the mouse within the window or press keys to generate random data
    ................................................................................
    ..........................................random data collected.
    A DSA private key has been generated with a keylength of 2048 bits
    Created certificate mycert.cer

    C:\Symbian\9.1\S60_3rd_MR\S60Ex\helloworldbasic\sis>dir *.sis
    Volume in drive C has no label.
    Volume Serial Number is 4CA7-F09E

    Directory of C:\Symbian\9.1\S60_3rd_MR\S60Ex\helloworldbasic\sis

    08/04/2006 08:16 AM 15,980 helloworldbasic_gcce.SIS
    1 File(s) 15,980 bytes
    0 Dir(s) 42,288,250,880 bytes free

    C:\Symbian\9.1\S60_3rd_MR\S60Ex\helloworldbasic\sis>signsis helloworldbasic_gcce
    .SIS helloworldbasic.sis mycert.cer mykey.key
    error:0906A068:PEM routines:PEM_do_header:bad password readerror:0D0680A8:asn1 e
    ncoding routines:ASN1_CHECK_TLEN:wrong tagencryption error, Cannot load mykey.ke
    y.

    C:\Symbian\9.1\S60_3rd_MR\S60Ex\helloworldbasic\sis>signsis helloworldbasic_gcce
    .SIS helloworldbasic.sis mycert.cer c:\Symbian\9.1\S60_3rd_MR\S60Ex\helloworldba
    sic\sis\mykey.key
    error:0906A068:PEM routines:PEM_do_header:bad password readerror:0D0680A8:asn1 e
    ncoding routines:ASN1_CHECK_TLEN:wrong tagencryption error, Cannot load c:\Symbi
    an\9.1\S60_3rd_MR\S60Ex\helloworldbasic\sis\mykey.key.

    C:\Symbian\9.1\S60_3rd_MR\S60Ex\helloworldbasic\sis>

  2. #2
    Regular Contributor
    Join Date
    May 2005
    Location
    Sweden
    Posts
    272

    Re: Problem when signing .sis file

    The error message says "bad password". You specified a password when you created the certificate. Add that one to the end of the signsis command line.

Similar Threads

  1. problem installing sis file
    By lucidness in forum Symbian
    Replies: 8
    Last Post: 2006-04-20, 17:51
  2. Replies: 1
    Last Post: 2005-05-26, 14:22
  3. JAD file problem with 3100/6100
    By rkanhere in forum Mobile Java General
    Replies: 0
    Last Post: 2004-06-21, 14:50
  4. problem with a .sis file
    By superbaz in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2002-11-11, 18:09
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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