Hendy Irawan • over 11 years ago
Cannot Import Legacy Certificate: Registration failed. Reason: Certificates are not generated because of unknown reason.
After uninstalling and deleting all Tizen Wearable SDK 1.0.0b2 files (~/tizen-wearable-sdk, ~/tizen-wearable-sdk-data) then I installed Tizen Wearable SDK v1.0.0.b3, I'm unable to import my legacy certificate-registration.xml :
Registration failed.
Reason: Certificates are not generated because of unknown reason.
Error log:
eclipse.buildId=1.0.0 b3
java.version=1.8.0_20
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en
Framework arguments: -Dorg.eclipse.swt.browser.DefaultType=MOZILLA
Command-line arguments: -os linux -ws gtk -arch x86_64 -Dorg.eclipse.swt.browser.DefaultType=MOZILLA
java.security.SignatureException: Certificates are not generated because of unknown reason.
at org.tizen.common.cert.ui.RegisterCertDialog.generateLegacyCertificates(RegisterCertDialog.java:647)
at org.tizen.common.cert.ui.RegisterCertDialog.processOK(RegisterCertDialog.java:577)
at org.tizen.common.cert.ui.RegisterCertDialog.access$12(RegisterCertDialog.java:574)
at org.tizen.common.cert.ui.RegisterCertDialog$10.run(RegisterCertDialog.java:547)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Please help. I need to send my Gear S App before 30 September 2014 and this issue is making me very worried.
Comments are closed.

8 comments
Nguyen Ba Ly • over 11 years ago
Oh you deleted your crt file in sdk data foder. So you can not update your app anymore.
I am same with you.
there is only solution now.
create new certificate and register new app with content ID. Then send both new content ID and old app to the challenge.
Here is my thread: http://gearappfinal.challengepost.com/forum_topics/3619-need-help-with-certificate-request
Chakradhar Reddy Veeramreddy • over 11 years ago
Did you save the sdk-data folder before deleting? If not I think what leenguyenlovie says is correct. If you have, then you can obtain a new certificate using that author.p12(/crt) file and use that instead in the new sdk.
Hendy Irawan • over 11 years ago
@leenguyenlovie Thanks for the tip, I thought only the certificate-registration.xml file is important :(
Nguyen Ba Ly • over 11 years ago
no in my case i can not register certificate with only certificate-registration.xml file. I have this file, but I can not update my app. Because only .crt or .p12 file can register. If you can with .xml file, please share
Hendy Irawan • over 11 years ago
@leenguyenlovie : Do you rename the old app, or do you create the new app under new name?
Nguyen Ba Ly • over 11 years ago
I create new app with new name, added "2" to the end. I expect that this should be updated version, with the same name, but can not because I loss crt(.p12) file.
The new app must be updated version of old app. Please comment to certification team so that they can understand this is not copy. This is updated version.
One more important thing, I can not register new app with the updated binary file, because the id of the app(in config file) is same.
So I create new project(this will generate new app id) and move all source code from old to new project. This is to ensure that I can register totally new project. A lot of more work.
Nguyen Ba Ly • over 11 years ago
how is going, is it good, HendyIrawan?
Hendy Irawan • over 11 years ago
Thanks @leenguyenlovie yes I've got a new certificate.
Then I will create a new app in the seller account... hope can get it done on time.