×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    63

    problem in signing a sis with Developers certificate using command line

    Hi ,
    I am having a developers certificate i.e both the .cer and .key files with me .I have used these files for signing an application for my E61 handset but i used Carbide.C++. Now i am creating a sis file of another application using command line using the same .cer and .key files but it is not able to create the sis file and giving me an error .

    The commands i am using for creating the sis file is

    createsis create -cer <.cer> -key <.key> -pass <passphrase> app.pkg
    and before doing this i am just copy pasting my .cer and .key files in the sis folder of my application.
    But it is giving me an error that it cannot load the .key file . now is there anything more to be done or am i doing anything wrong .It would be nice if anybody explains me the whole procedure of creating and sigining a sis file using the developers certificate .

    I am waiting for the reply

    regards
    Symbians60

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Smile Re: problem in signing a sis with Developers certificate using command line

    Quote Originally Posted by symbians60
    Hi ,
    ... It would be nice if anybody explains me the whole procedure of creating and sigining a sis file using the developers certificate .

    I am waiting for the reply

    regards
    Symbians60
    Have a look into following Wiki page:
    http://wiki.forum.nokia.com/index.ph...er_certificate

    And for reference you can look into:
    http://www.gosymbian.com/forum/viewtopic.php?t=757

    Kiran.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    63

    Re: problem in signing a sis with Developers certificate using command line

    Thanks kiran for replying but i am getting this error

    createsis create -pass exam -cer Example.cer -key Example.key Example.pkg
    Processing Example.pkg
    Created Example-tmp.SIS
    Signing Example-tmp.SIS with Example.cer and Example.key->Example.SIS
    error:06078081:digital envelope routines:EVP_PKEY_get1_DSA:expecting a dsa keyerror::0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag encryption error ,cannot load Example.key

    Now why am i getting this error , have you got any idea about this

    regards
    symbians60

  4. #4
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Mumbai
    Posts
    212

    Re: problem in signing a sis with Developers certificate using command line


  5. #5
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: problem in signing a sis with Developers certificate using command line

    Createsis is hardcoded to only work with DSA keys (for reasons that are totally unfathomable to me...)

    Instead use makesis and signsis seperately:

    makesis foo.pkg foo-unsigned.sis
    signsis -s foo-unsigned.sis foo-signed.sis devcert.cer devcert.key

    btw, I edited the batch file in the example above to remove the assumption of an RSA key pair. Signsis is perfectly capable of choosing a signature algorithm automatically.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

Similar Threads

  1. Certificate problem
    By dpenezic in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-03-08, 22:43
  2. Problem with SIS file generated by Carbide Express
    By rickyard in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2007-03-06, 07:45
  3. Signing Problem : Certificate chaining
    By contactabbas in forum Mobile Java General
    Replies: 3
    Last Post: 2007-01-04, 16:05
  4. Midlet Signing Problem
    By manupeco in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2006-12-14, 13:50
  5. Problem in downloading SIS file via wap
    By gmatteu in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2002-12-09, 06:32

Posting Permissions

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