tutorials

Samsung Certificate Profile for Samsung Wearables

writer img alt

Juwon Ahn

Staff Engineer

You may face the following error when you develop Tizen .NET applications:

   processing result : Check certificate error [-12] failed

This error occurs when you install the default certificate signed .NET app on Samsung wearables or install the Samsung certificate-signed app on a Tizen emulator.


You can get its solution here

Samsung certificate profile

Install Samsung Certificate Extension

To create a Samsung certificate profile, you must have Samsung Certificate Extension installed. You can install it through Tizen Studio Package Manager.

Create a Samsung certificate profile

  1. Launch Tizen Certificate Manager, and click the + button to create a new certificate profile.
  2. Select Samsung to create a certificate profile to develop and test your application for Samsung Wearables.
  3. In Step 1, select Mobile/Wearable as the device type and click Next.
  4. Select Create a new certificate profile and enter the file name.
  5. Select Create a new author certificate and click Next. Enter author name and password.

  6. Sign into Samsung Account. After a few seconds, you get a link to the author certificate.

Important: Keep the author certificate in a safe location for future updates of your applications. If you lose your author certificate, you will not be able to modify your apps registered in Samsung Seller Office.

Next, create the distributor certificate.

If your device or wearable emulator is connected, the DUID value is automatically added.

You can now get your distributor certificate.

Handle Error 'certificate error [-12]'

Top

To install your Tizen .NET application on Samsung wearables such as Galaxy Watch, you need to create a Samsung certificate profile and sign your application with it.

You must ensure that the .NET application is signed with your Samsung certificate profile, not the Tizen default certificate. To use your Samsung certificate profile:

  1. Navigate to Visual Studio > Tools > Option > Tizen > Certification.
  2. Select the Sign the .TPK file using the following option checkbox.
  3. Select your Samsung certificate profile from the Profile dropdown.

Tizen certificate profile

To use the Tizen default certificate profile, uncheck the Sign the .TPK file using the following option checkbox: