One of the very first things you will need to do when creating your Tizen app is to generate a certificate so that you can sign the app and thus be able to publish and run the app in the Tizen Simulator.

There are 2 ways to create your certificate, the method I’m describing below uses the certificate generator tool via it’s command line interface. I will assume that you have already installed the Tizen IDE.

Navigate to the Tizen IDE’s install folder and go to tools/certificate-generator/. Once you are looking at the contents of that folder hold the SHIFT key and RIGHT-CLICK on the folder – a menu appears and among the options is to “Open command window here” – click that option.

open_cmd_in_folder

Next enter the name of the certificate generator: “certificate-generator.bat”. You will then be asked a number of questions – most are optional and are indicated as such. You can just hit the “enter” key to skip by them…

Soon you will hit some required fields, they are:

  • Please enter password for pkcs12 format key certificate

    • Enter a password that you’ll remember
  • Please enter alias for generated pkcs12 structure

    • An alias for your file – fro example, the name of your app – no spaces all one word
  • Please enter the file name for storing pkcs12 file (*.p12)

    • Choose a file name, a good convention is to use the same text that you entered for your alias

The certificate generator tool creates your p12 file and tells you where it is, for example “c:\tizen-sdk-data\keystore\author\SOMETHING.p12”. Note that on my computer the “c:\tizen-sdk-data” directory was hidden so you may have to manually enter the path or change your folder settings to reveal hidden files.

Next you need to import it into the Tizen IDE:

  • Switch to or launch the Tizen IDE
  • Go to Window…
  • Preferences…
  • Tizen SDK…
  • Secure Profiles

security_profiles

On this screen click the “Add” button to add a new profile – to keep things simple re-use the alias that you entered when creating your certificate.

new_profile_name

Under “Author Certificate” click the “edit” button. The Certificate Editor window appears – locate your p12 file (as mentioned above the “c:\tizen-sdk-data” is a hidden directory so either manually enter the path or change your system settings to show hidden files/folders).

certificate_editor

Once you’ve entered the path to your certificate and have entered the password click “apply” and then “OK”.