Languages

Menu
Sites
Language
Visual Studio - Certificate issues

Hi there,

new to Tizen developments and just hang with a certificat issue.

Got installed Visual Studio 2017 with Tizen Extension and Emulator, tizen version on command line is "Tizen CLI 2.4.50".

Got some CSharp demo apps from GitHub and was able to compile it and run in the emulator. Deploying it to a real Samsung Watch R805 (Tizen 4.0) brings always this error:


__return_cb req_id[1] pkg_type[tpk] pkgid[org.tizen.example.NFCSampleApp] key[start] val[install]
__return_cb req_id[1] pkg_type[tpk] pkgid[org.tizen.example.NFCSampleApp] key[install_percent] val[9]
__return_cb req_id[1] pkg_type[tpk] pkgid[org.tizen.example.NFCSampleApp] key[install_percent] val[12]
__return_cb req_id[1] pkg_type[tpk] pkgid[org.tizen.example.NFCSampleApp] key[install_percent] val[15]
__return_cb req_id[1] pkg_type[tpk] pkgid[org.tizen.example.NFCSampleApp] key[install_percent] val[18]
__return_cb req_id[1] pkg_type[tpk] pkgid[org.tizen.example.NFCSampleApp] key[install_percent] val[21]
__return_cb req_id[1] pkg_type[tpk] pkgid[org.tizen.example.NFCSampleApp] key[install_percent] val[25]
__return_cb req_id[1] pkg_type[tpk] pkgid[org.tizen.example.NFCSampleApp] key[error] val[-12] error message: :Non trusted certificate is used. Register valid certificate:<-32>
__return_cb req_id[1] pkg_type[tpk] pkgid[org.tizen.example.NFCSampleApp] key[end] val[fail]
processing result : Check certificate error [-12] failed
spend time for pkgcmd is [1474]ms

After that I read I need to get a own certificate, so I created one with Tizen Certificate Manager and got finally a myowncertificate.p12 file.

Also I configured Visual Studio to use Tizen Certificate Manager and this profile to sign TPK files. Still the same error message.

After a manuall signing of the package on command line ("tizen package -t tpk -s myownprofile ....") I made sure this new certificate has been used. But still the very same message appears. All I googled was old helps and comments from 2015 or alike, so I am not sure if they are really helpfull 3 years later.

 

Thanks for advice.

 

Responses

1 Replies
Hafner

Hey,

 

got it solved! The Certificate Manager in Visual Studio does not work properly, obviously. After installing Tizen Studio and processed exactly the same precedure - I got a working certificate now. Obviously the login onto Samsung Account is not working properly for Visual Studio - but for Tizen Studio.

 

Hope it helps...

Cheers,