昨天我正在为 raspberry pi 2 测试新的 ubuntu 核心映像。一切都完美地开始,但是对于我想要执行的每个 snappy 命令,我都收到了 ssl 证书错误。Internet 连接正常,其他一切正常,除了 snappy 无法连接到服务器。当我回到家时,我会发布确切的失败。(一切都很好,因为我在 vm 中测试了 ubuntu 核心)
提前致谢
您需要检查系统上的时间。很可能您的 Rasp 向操作系统发布了错误的时间并且证书失效。发出 date 命令并检查时间。如果是错误的问题
sudo date new_date_time_string
Run Code Online (Sandbox Code Playgroud)
其中 new_date_time_string 必须遵循 MMDDhhmmyyyy.ss 格式,如下所述:
MM is a two digit month, between 01 to 12
DD is a two digit day, between 01 and 31, with the regular rules for days according to month and year applying
hh is two digit hour, using the 24-hour period so it is between 00 and 23
mm is two digit minute, between 00 and 59
yyyy is the year; it can be two digit or four digit
ss is two digit seconds. Notice the period . before the ss
Run Code Online (Sandbox Code Playgroud)
在适当的时间到位。它很可能应该解决问题。
来源:更改系统时钟的命令行语句是什么?&& 我的 Beaglebone 遇到了同样的问题
| 归档时间: |
|
| 查看次数: |
1516 次 |
| 最近记录: |