Languages

Menu
Sites
Language
Creating Certification File for Package (certificate-generator.bat)

Hi;

I know I need to generate a certificate for my application packaged.

 
However, getting the following error when I try to produce the certificate according to the information at https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.gettingstarted%2Fhtml%2Fdev_env%2Fcertificate_generator.htm
 
Thank you in advance for your help.
 
Error:

The private key passed is of not a proper encoding. It should be of PKCS8 or EncodedKeySpec format.
Generic Exception caught.Private key argument is incorrect.
The Key Spec should be generated from RSAPrivateKeySpec, PKCS8privateKeySpec, EncodedKeySpec or any other reconized spec.

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

8 Replies
wil smith
Try a clean reinstallation of your SDK
I was in 64 and 32-bit versions of the SDK 2.1 uninstalled and installed at least two times. I deleted all the files related to the SDK before reinstalling. I installed version 2.0 of the SDK when you get the same error. But the problem still continues. Thanks.
In addition, I installed SDK in operating system is windows 7 64-bit and Windows Vista 32 bit. I get the same error in both operating systems. Thanks.
Marco Buettner
Did you use alpanumeric?
I have tried the sample at https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.gettingstarted%2Fhtml%2Fdev_env%2Fcertificate_generator.htm. And I have tried different examples. Gives the same error. I added screen shots. Thanks. http://sdrv.ms/12vYFWs (example in reference document) http://sdrv.ms/12vYL0j http://sdrv.ms/11lG6fW
wil smith
Provided links are not accessible, I think you can report a bug for the same. Looks it is related to some environment settings
The problem being solved in this way. http://www.digisigner.com/how_to_generate_digital_certificate.html#how_to_generate_digital_certificate_using_keytool Thanks.
My problem continues. Because of my application returned the following error. How can I generate certificate file for application package? Thanks. [Defect] Fail to verify author signature. [Expected Result] Author certificate should be valid. [Reference] Author can digitally sign a package as a mechanism to ensure continuity of authorship. Validation system, can use a author signature to verify the data integrity of the files within a application package and to confirm the signing key(s). The author certificate must be chained with the developer Certification Authority (CA) certificate.