×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    5

    Unhappy Creating SIS for N70 - Problem

    Finally worked out how to create a certificate after weeks of trying

    finally made one and when creating the sis file it produced the following

    CREATING THE SIS PACKAGE
    Processing CruiseZone.pkg...
    Created CruiseZone.sis
    error:0906A068:PEM routines:PEM_do_header:bad password readerror:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tagencryption error, Cannot load mykey.key.
    FAILED while executing makesis.

    FAILED !!. Read report given above

    Any ideas on what im doing wrong?

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Creating SIS for N70 - Problem

    it says someting about "bad password ", so did you define password, and are you using it correctly.

    yucca

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    5

    Talking Re: Creating SIS for N70 - Problem

    sorry but im not no programmer or genius.... please speak simple i.e. instructions

    much appreciated

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Creating SIS for N70 - Problem

    try removing the cerificate line from your pkg, check if it build ok, if not then try rememberring the password you set when you made the certificate and append it to the certificate line in your pkg file.

    yucca

  5. #5
    Registered User
    Join Date
    Jun 2006
    Posts
    5

    Question Re: Creating SIS for N70 - Problem

    erm....erm..... AGGHGHH lol

    youve utterly and complety lost me

    any chance u could give me instruction on how to make a certificate as i cant find any anywhere! then maybe i can make my theme after MONTHS of trying. thanks for replying

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: Creating SIS for N70 - Problem

    I have installed this crap tool. It is a painful mess. Although it is described in the release notes how to make a certificate (the examples are trying to use certificates of their original authors, from their My Documents folder), you just do not need that: N70 is not a S60 3rd edition device thus you should select S60 2.8 in the Checkout/Advanced page.

  7. #7
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    Re: Creating SIS for N70 - Problem

    Yep, same here. I found a thread that explained the makekey command line command and finally made a key and a cert. Then I get the password error right before everything completes almost normally.

    error:0906A068:PEM routines:PEM_do_header:bad password readerror:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tagencryption error, Cannot load mykey.key.

    It made everything correctly but the sis!

    Are they kidding with this software?!?
    So slow...not a mention in any of the docs as how to make keys (maybe common knowledge to devel guys).....running in Java? and its this slow?

    The irony is, the workflow and interface design is fine. sheesh.
    If anyone can help with this error....tia.

  8. #8
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    Lightbulb Re: Creating SIS for N70 - Problem

    I had the same error.

    error:0906A068:PEM routines:PEM_do_header:bad password readerror:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tagencryption error, Cannot load mykey.key.

    What i did was recreating the .cer and the .key file without the option to use a password.

    makekeys -cert -dname "CN=Symbian OU=Development OR=Symbian Ltd CO=GB" mykey.key mycert.cer

    Just answer "n" when the following question is presented.

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

    Use the mykey.key and mycert.cer to create the SIS file.

    More info about makekeys.exe
    http://www.symbian.com/developer/tec...nce.guide.html

    Regards
    Zayn
    Last edited by Zayn; 2006-08-28 at 16:21.

  9. #9
    Registered User
    Join Date
    Aug 2006
    Posts
    2

    Thumbs up Creating SIS for N80 - Keys and Cert resolved

    Zayn - you're the man!
    Thanks to your post finally installed .key and .cer (FINALLY!!!!!)
    (Btw the weird thing is for some time I couldn't even get past the makesys line, even though I'm quite sure I stuck to the instructions!)

    makekeys -cert -dname "CN=Symbian OU=Development OR=Symbian Ltd CO=GB" mykey.key mycert.cer

    Just answer "n" when the following question is presented.

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

    Use the mykey.key and mycert.cer to create the SIS file.


    The italics above sorted out the following errors I had in similar to below

    error:0906A068:PEM routines:PEM_do_header:bad password readerror:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tagencryption error, Cannot load mykey.key.
    FAILED while executing makesis.


    Thanks again - now I have to blame you for impending late nights getting to grips with Theme Studio!!!!!!!!!!!!!!

    Borneo (kirschsq dad)

  10. #10
    Registered User
    Join Date
    Sep 2005
    Location
    Ukraine
    Posts
    32

    Re: Creating SIS for N70 - Problem

    Could you explain me how to create the keys and certificate without password. makekeys DEMANDS passphrase. It's doesn't suggest me to create the keys without password

  11. #11
    Registered User
    Join Date
    Sep 2005
    Location
    Ukraine
    Posts
    32

    Re: Creating SIS for N70 - Problem

    Ahh! It shows the "no password" question only if the .key and .cer files does not exist.

  12. #12
    Registered User
    Join Date
    Mar 2007
    Posts
    7

    Re: Creating SIS for N70 - Problem

    guys i"m getting the same error can someone help me out

  13. #13
    Registered User
    Join Date
    Jan 2004
    Posts
    44

    Re: Creating SIS for N70 - Problem

    I had the same problem after the following:
    -build for ARMV5 urel (all fine, certificate generated)
    -build for ARMV5 udeb (signsis exited with with value = 1, cant sign)

    Solution: use signsis manyally.
    1) See the console output for the urel build (where the cert is generated), and find the lines beginning with "***Invoking signsis.exe....". From there you can obtain the password, prolly "DefaultPassword"
    2) Sign the sis-file on the command line (DOS prompt):
    signsis asdf.sis asdf.sisx cert-gen.cer key-gen.key DefaultPassword

    Of course, this only works in the abovementioned case... hope this helps!

  14. #14
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Creating SIS for N70 - Problem

    Have you noticed how old these posts are and the fact that your solution does not really apply to the problem described here (wrong platform version)?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  15. #15
    Registered User
    Join Date
    Jan 2004
    Posts
    44

    Re: Creating SIS for N70 - Problem

    My solution helped for the abovementioned "bad password readerror"
    Who cares if its an older thread, people still read it. 2007 isn't very old...

Similar Threads

  1. Problem while creating .jar file
    By sachinwarang in forum Mobile Java General
    Replies: 2
    Last Post: 2006-04-18, 08:04
  2. Problem while creating images .
    By sachinwarang in forum Mobile Java General
    Replies: 2
    Last Post: 2006-04-12, 18:42
  3. error creating sis file
    By acohen_mobile in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-07-25, 12:23
  4. a problem with sis
    By twu in forum Symbian
    Replies: 1
    Last Post: 2002-12-18, 14:28
  5. a problem with sis
    By twu in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2002-12-18, 10:30

Posting Permissions

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