Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying Tizen app to Gear S2: Non trusted certificate is used

After getting Tizen Studio to work, I am (unsuccessfully) attempting to deploy a sample app to a Samsung Gear S2. The app is one of the samples and I've set up the certificates for use on commercial devices as explained in the instructions.

When I select "Permit to install applications" I get the correct success response and I can also see that the device-profile.xml is on the device with the correct DUID.

However, attempting to deploy the app (both from the IDE and via sdb) still results in an error:

tizen@buerk:~/tizen-studio/tools$ ./sdb install ../../workspace/FirstExample/FirstExample.wgt                                                                                                                                                                
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed               FirstExample.wgt   100%       1681KB       0KB/s
1 file(s) pushed. 0 file(s) skipped.
../../workspace/FirstExample/FirstExample.wgt   553KB/s (1721589 bytes in 3.035s)
path is /opt/usr/apps/tmp/FirstExample.wgt
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[start] val[install]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[install_percent] val[3]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[install_percent] val[22]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[install_percent] val[25]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[install_percent] val[33]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[error] val[81] error message: Non trusted certificate is used. Register valid certificate
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[end] val[fail]
processing result : Unknown Error [81] failed
spend time for pkgcmd is [2180]ms

What else could possibly be wrong?

like image 591
Ingo Bürk Avatar asked Oct 18 '22 21:10

Ingo Bürk


1 Answers

You need samsung certificate. Application with Certificate that created in Tizen Studio can be run only Emulator. Use Samsung Certificate if you want to run application on real device.

Refer this my answer.

like image 123
pius lee Avatar answered Oct 21 '22 04:10

pius lee