Creating Certificates

In the menu bar, click Tizen Tools > Certificate Manager.

  1. Click the + button to create a certificate profile.
    Certificate profile will contain author certificate and distributor certificate.

  2. Select Samsung to generate certificates to develop and install to Samsung devices and will you can upload the application to the Store. But if you want to use the emulator and do not have any plans to upload the application to the Store, just select Tizen to create certificate locally.

  3. Select Device Type and click Next.

  4. Select Create a new certificate profile to create new one. In case of Select an existing certificate profile, see the Managing Certificate Profile.

  5. Select Create a new author certificate. In case of Select an existing author certificate, see the Managing Certificate Profile.

    With Advanced options menu, you can check Use an existing author certificate option to select either the Android keystore, or you can also choose already existing Samsung author certificate.

    The same signing key helps in maintaining secure peer authentication between the Tizen Gear App and the Android mobile app. You can find out more details from the Accessory SDK. In case of selecting a Samsung author certificate, you can just renew the certificate with the same information. This renewed certificate will be the same as your original RSA key so upgrading your application is guaranteed.

  6. Enter the author name and password. It is recommended to set a strong password and not to forget it . If you want to use the same password for the distributor certificate in the next step, check the box below. Additional Fields contains more CSR information to input, but are not mandatory.

  7. At the Next step, a Samsung Account sign-in pops up. After a few seconds from signing-in you can get the author certificate.

    The author certificate should be secure. So we recommend making a backup. You can specify the backup location by clicking Browse button.

If you don’t have it yet, please create a new account.

  1. The Next step is creating distributor certificate.

    Select Create a new distributor certificate. In case of Select an existing distributor certificate, see the Managing Certificate.

    a. Select the Privilege level for the distributor certificate. To ensure that implemented APIs work in the device, the application should be signed with distributor certificate which has appropriate privilege level.

  • To effectively protect the device system and user private data, the Tizen security architecture is based on privileges and application signing of the Linux basic security model, which includes process isolation and mandatory access control. The users must be able to grant privileges for security-sensitive operations

  • Public - No limitation to use for all Tizen application developers.

  • Partner - No limitation to request and get the distributor certificate with this level. But when the application is uploaded to the Store, Store re-signs the application with official partner level distributor certificate, only for the registered partner developer at Samsung.

b.  If you have checked an option to apply the password to be the same as the author certificate to the distributor certificate at **Step 3-1**, the password is already filled in.If you want to change it, just type the new password for the distributor certificate.
c.  Once the device is connected to the Host PC, the DUID is automatically added to the list. If you want to add more devices, just connect your device to your Host PC via USB or WiFi. Previous DUIDs on the list is not deleted even if you disconnect the device. To delete it click the trash icon.  
    [How to connect the device to PC via WiFi][5]
d.  When you need to register devices that are more than 10, upload a txt file using **Import a DUID list file** menu. 1 DUID on a line and max 50 DUIDs are be available.
<div class="alert alert-info" role="alert"><strong>Note</strong> : <p>The DUID of recent mobile and wearable devices start with a 2.0# but old devices are 1.0#. If a distributor certificate contains a 1.0# DUID, all devices with that certificate need one more step, see <strong>the Permit device to install apps</strong> guide.</p>
<div class="alert alert-info" role="alert"><strong>Note</strong> : <p>If you do not have any actual device but want to develop apps and upload to the Store, just launch the emulator virtual machine and use its DUID.</p>
e.  Click **Next**, after a few seconds you can get the distributor certificate.
  1. Click Finish. You can find the created profile and its information.