各位大佬黑群无法运行命令帮忙看看如何解决

[复制链接]
查看: 2788   回复: 9
发表于 2021-12-27 12:57:40 | 显示全部楼层 |阅读模式
root@nana:~# curl https://rclone.org/install.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.
回复

使用道具 举报

 楼主| 发表于 2021-12-27 12:58:01 | 显示全部楼层
apt install -y ca-certificates
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-12-27 12:58:44 | 显示全部楼层
apt也装不上啊
回复 支持 反对

使用道具 举报

发表于 2021-12-27 12:59:02 | 显示全部楼层
curl -k https://rclone.org/install.sh | sudo bash
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-12-27 12:59:42 | 显示全部楼层
一样报错
回复 支持 反对

使用道具 举报

发表于 2021-12-27 13:00:00 | 显示全部楼层
那就没办法啦,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-12-27 13:01:00 | 显示全部楼层
curl --insecure https://rclone.org/install.sh | sudo bash

这个呢,如果还不行就真的没办法了:(:(
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-12-27 13:01:29 | 显示全部楼层
报错
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-12-27 13:01:49 | 显示全部楼层
看起来是群晖的dsm缺少证书链
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-12-27 13:02:00 | 显示全部楼层
wget 。。。或者直接 vi install.sh 手动丢进去
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则