Discussion Board

Results 1 to 15 of 15
  1. #1
    Registered User EdenN70's Avatar
    Join Date
    Jun 2006
    Posts
    5
    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 symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,671
    it says someting about "bad password ", so did you define password, and are you using it correctly.

    yucca

  3. #3
    Registered User EdenN70's Avatar
    Join Date
    Jun 2006
    Posts
    5
    sorry but im not no programmer or genius.... please speak simple i.e. instructions

    much appreciated

  4. #4
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,671
    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 EdenN70's Avatar
    Join Date
    Jun 2006
    Posts
    5
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 dougike2's Avatar
    Join Date
    Aug 2006
    Posts
    1
    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 Zayn's Avatar
    Join Date
    Aug 2006
    Posts
    1
    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 kirschsq's Avatar
    Join Date
    Aug 2006
    Posts
    2
    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 Hexxx's Avatar
    Join Date
    Sep 2005
    Location
    Ukraine
    Posts
    32
    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 Hexxx's Avatar
    Join Date
    Sep 2005
    Location
    Ukraine
    Posts
    32
    Ahh! It shows the "no password" question only if the .key and .cer files does not exist.

  12. #12
    Registered User ee02b022's Avatar
    Join Date
    Mar 2007
    Posts
    7
    guys i"m getting the same error can someone help me out

  13. #13
    Registered User mikaellaine's Avatar
    Join Date
    Jan 2004
    Posts
    44
    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 ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    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)?

  15. #15
    Registered User mikaellaine's Avatar
    Join Date
    Jan 2004
    Posts
    44
    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 C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved