Tizen CLI Error: "Non trusted certificate is used" when installing WGT package

Original Created Mar 14, 2017 | Regeneration Apr 22, 2026

I followed the steps in the official guide for Tizen CLI (https://developer.tizen.org/development/tools/native-tools/command-line-interface#nw_package) but encountered an error when trying to install a WGT package:

$ tizen version
Tizen CLI 1.2.3

$ tizen install app.wgt
__return_cb req_id[161370002] pkg_type[wgt] pkgid[7YHmdOMvxK] key[error] val[81] error message: Non trusted certificate is used. Register valid certificate
__return_cb req_id[161370002] pkg_type[wgt] pkgid[7YHmdOMvxK] key[end] val[fail]
processing result : Unknown Error [81] failed

The error suggests the certificate signature is invalid. Is there a way to resolve this through the command line, or do I need to use the UI?

Additional observations:

  1. The profiles.xml setup requires manual intervention on OSX
  2. Certificate generation has directory creation issues with unexpected default paths

Problem Understanding

The error occurs when trying to install a WGT package using Tizen CLI due to an invalid or untrusted certificate. This typically happens when:

  • The certificate used to sign the package is not properly registered
  • The certificate has expired
  • The certificate profile is not correctly configured

Solution Methods

  1. Certificate Registration:

    • Ensure you have a valid certificate registered in Tizen Studio
    • Verify the certificate is properly configured in your project
  2. Certificate Generation:

    • Recreate your certificate using Tizen Certificate Manager
    • Make sure to select the correct profile and directory path
  3. Manual Profile Configuration:

    • For OSX users, manually edit the profiles.xml file to ensure correct paths
    • The file is typically located at: ~/Library/tizen/

Additional Tips

  • Always verify your certificate's validity period
  • Double-check the certificate profile matches your project type
  • Consider using Tizen Studio's GUI tools for certificate management if CLI issues persist

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.