简体   繁体   English

Tizen Studio SIGNATURE_INVALID_CERT_TIME错误76(Gear Fit2)

[英]Tizen Studio SIGNATURE_INVALID_CERT_TIME error 76 (Gear Fit2)

I'm trying to install an application in a Samsung Gear Fit2 using Tizen Studio 1.2 But every time I try to do so, I get the following error: 我正在尝试使用Tizen Studio 1.2在Samsung Gear Fit2中安装应用程序,但是每次尝试这样做时,都会出现以下错误:

[Initializing the launch environment...]
    RDS: On
    Target information: SM-R360
    Application information: Id(PSOUXHWdyQ.TAUBasic), Package Name(PSOUXHWdyQ), Project Name(TAUBasic)
[Transferring the package...]
    Transferred the package: wgt stream -> /opt/usr/apps/tmp/TAUBasic.wgt
[Installing the package...]
path is /opt/usr/apps/tmp/TAUBasic.wgt
start process (install)
....
error : 76

end process (fail)
processing result : SIGNATURE_INVALID_CERT_TIME [76] failed
spend time for pkgcmd is [1664]ms
cmd_ret:76
    An exception occurred
(Installing the package... > Fail)
An exception occurred
Unexpected stop progress...
(4.998 sec)

I have searched everywhere and followed the steps on the links below: 我到处搜索,并遵循以下链接上的步骤:

Tizen Studio install error SIGNATURE_INVALID_CERT_TIME error 76 Tizen Studio安装错误SIGNATURE_INVALID_CERT_TIME错误76

https://developer.tizen.org/forums/general-support/gear-fit2-problem-signature_invalid_cert_time#comment-25819 https://developer.tizen.org/forums/general-support/gear-fit2-problem-signature_invalid_cert_time#comment-25819

https://developer.tizen.org/sites/default/files/documentation/1_tizen_studio_windows.pdf https://developer.tizen.org/sites/default/files/documentation/1_tizen_studio_windows.pdf

But none of them have solved this problem. 但是他们都没有解决这个问题。

Notes: 笔记:

  1. Both my development machine and smartwatch are on the same network. 我的开发机器和smartwatch都在同一网络上。
  2. Both devices date/time are synced 两个设备的日期/时间都已同步
  3. I'm using a Samsung certificate with a matching DUID from the device i'm trying to connect to. 我正在使用三星证书,并且我尝试连接的设备具有匹配的DUID。

Does anyone know what i'm missing? 有人知道我在想什么吗?

I was finally able to install an app to the device. 我终于能够将应用程序安装到设备上。 It was a pretty long shot, but it worked! 这是一个相当长的镜头,但是有效!

I simply setup the device with a samsung device, and that's it! 我只是用三星设备设置了设备,仅此而已! I was using the smartwatch without connecting to a smartphone because we are developing a standalone app. 我正在使用智能手表而不连接智能手机,因为我们正在开发一个独立的应用程序。

I guess it has something to do with the automatic date/time (timezone?) syncing between the smartwatch and smartphone. 我想这与智能手表和智能手机之间的自动日期/时间(时区?)同步有关。 Not really sure. 不太确定。

Anyway, it's working now! 无论如何,它现在正在工作!

If you go to the directory where your author and distributors certificates are stored, and print them out using openssl: 如果转到存储您的作者和发行者证书的目录,然后使用openssl打印出来:

openssl x509 -text -noout <author.crt

You'll see two cert's fields: "Not Before" and "Not After". 您将看到两个证书的字段:“在此之前”和“在此之后”。 It defines a time frame when certificate is valid. 它定义了证书有效的时间范围。

     Not Before: Jun 24 16:24:11 2018 GMT
     Not After : Jun 24 16:24:11 2019 GMT

If the timer on your watch is out of sync and the date/time are not within this interval, the certificate validation will fail on the target device (watch). 如果手表上的计时器不同步并且日期/时间不在此间隔内,则证书验证将在目标设备(手表)上失败。

That's why syncing the watch with its phone will resolve CERT_TIME (76) error. 这就是为什么将手表与其手机同步会解决CERT_TIME(76)错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM