使用亚马逊服务器报错:Signature not yet current: 20190726T070253Z is still later than 20190726T070246Z (20190726T065746Z + 15 min.)时间不同步的解决办法

1.首先获取亚马逊的时间:

   $ curl http://s3.amazonaws.com -v 

2.更改当前服务器时间,使之与亚马逊时间同步

   $ date -s 'xxxx-xx-xx xx:xx:xx'  # 第一步中请求到的亚马逊时间

posted @ 2019-07-26 15:19  python许三多  阅读(480)  评论(0编辑  收藏  举报