언어 설정

Menu
Sites
Language
Using existing certificate files for Tizen Wearable with new IDE

Hi,

I used an "old method" in spring/summer to get the certificate files with an older IDE (for emulator, not device), I received the 'certificate-registration.xml' and I have both author.p12 and distributor.p12 files. My app is uploaded into Galaxy store. Everything is fine.

Now I am moving to a new PC, so I will install the latest IDE (which has different certification files generation/handling), new Emulator ID, etc...
My question, can I still use the existing author.p12 and distributor.p12 files? Because the Emulator ID will be different. But I also read that if I have existing p12 files, I must use those.

Thanks

Edited by: Zoltan Puski on 06 10월, 2014

Responses

10 댓글
Zoltan Puski

Update:

I installed the latest 1.0.0 IDE, and there is a button "Register Certificate". Here I can select "Use the legacy certificate", and select the 'certificate-registration.xml'. I enter password, and press OK,

but I got error:

Registration failed.
Reason: Certification are not generated because of unknown reason,

However, I open Window>Preferences>Tizen SDK>Security Profiles, Add a new one, then for "Author Certificate" I select my existing (pre 1.0.0) 'author.p12', enter my password, and press OK.
Is this OK?
For Distributor certificates, here I cannot add any, only Edit is available, but I have nothing to edit

Zoltan Puski

Update 2

Not, the previous setting is not ok, I have error when try to run a sample (Media) App:

Errors occurred during the build.
Errors running builder 'Web Widget Builder' on project 'MediaSample'.
Error occurred while signing the widget.
Both an author and a first distributor must be required. Please check your profile infomation.
Error occurred while signing the widget.
Both an author and a first distributor must be required. Please check your profile infomation.

Zoltan Puski

Update 3

I think I made some mistakes when I tried to set the Distributor Certificates in Eclipse before, because I tried again pressing the "Edit", and now it allows me.
I chose the 'distributor.p12', enter my password, and finally I can run Apps on the new IDE/Emulator, it seems to work.

Only question, will it be ok for the store too to upload/update my exisiting App?

daniel kim

You did it by manual way.  if you fail to set it by 'register a certificate' menu again, I would recommend to check the keystore folder.

I think that you just copied author.p12 and distributor.p12 files only to new keystore folder to set your certificate in new IDE.

You need to copy all files(.csr, .pri, .pub, .xml, p12) from old keystore folder to new folder to set it.

Zoltan Puski

Thanks Danial.

Is this "manual way" Ok too, or do I have to copy all those files and invoke 'register a certificate' menu?

daniel kim

As you have failed to set it by 'register a certificate' menu before, I would recomend you to copy all those files and invoke the  'register a certificate' menu again.

 

Zoltan Puski

So 'register a certificate' menu does more than setting manually the p12 files in the Eclipse > Security profile menu?
I will do it then, and report back.

daniel kim

This is the description from Samsung. I hope this will help you.

http://developer.samsung.com/samsung-gear

When you are developing with Tizen Wearable SDKs above 1.0.0.b3, and if you already have author.crt file in keystore directory, please import that file and do not re-create it. Especially, if your application is on sale, do not change the author certificate because it can cause a problem when updating the application. Matching the author certificate guarantees the updating, and of course, re-creating the device-profile does not affect the application updating.

Stefano Accorsi

Hi there. I've got the same issues. My old Mac, where I had the 1.0.0.b3 IDE with certificates created the last june, has gone. Luckly I had a copy of the keystore folder. I tried to use the "Register certificate" form, but the big question is: what are the password associated with files??

I mean: I tried using the old certificate-registration.xml using the password I probably used in the creation process last june, or I used my Samsung account password, or the old Samsung account password I had back in june, but nothing: the IDE says "Registration failed. Reason: Certificates are not generated because of unknows reason".

So I tried using the process described by Zoltan but once again: what password I'm supposed to use? Anyway again: whatever password I use, the IDE accepts it but when I try to buid it says "Error occurred while signing the widget. Invaild password".

What could I do? I have 2 apps published in the store so, like daniel said, I have to use the old certificates! Anyway, I tried to create new certificates (manually sending mails to Samsung, since the automated process doesn't work in the Mac) but the problems are the same ...

Thank you.

daniel kim

Hi

You need to use the password which was used in the creation of your certificate-registration.xml to register your legacy certficate(certificate-registration.xml).

I wish this will help you.