JunOS:升级返回错误:软件包签名验证失败。中止安装。

时间:2020-02-23 14:44:18  来源:igfitidea点击:

升级JunOS时遇到以下错误?

Verify the signature of the new package
verify-sig: cannot validate certs.pem
certificate is not yet valid: /C=US/ST=CA/L=Sunnyvale/O=Juniper Networks/OU=Juniper CA/CN=PackageProductionRSA_2016/[email protected]
ERROR: Package signature validation failed. Aborting install.

此错误可能是由于设备上设置的日期和时间不正确(时间倒退)引起的。

要验证当前值,请进入shell模式并发出" date"命令。

范例:

root@:RE:0% date
Wed Jan 20 09:19:48 UTC 2015"

要设置日期和时间,请使用命令" date YYYMMDDHH.MM"(年|月|日|小时|分钟)

范例:

root@:RE:0% date 201609130608.00
date: connect: Can't assign requested address
Thu Sep 13 06:08:00 UTC 2016

然后以" cli"模式返回并再次尝试升级

root@:RE:0% cli