thắc mắc lỗi khi cài rclone trên synology

  • Người tạo chủ đề Người tạo chủ đề thanhman18
  • Ngày bắt đầu Ngày bắt đầu

thanhman18

Senior Member
tình hình đang mày mò cài rclone thì báo lỗi đến chứng chỉ ,mong anh em hướng dẫn
root@BigNas:~# 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.
 
tình hình đang mày mò cài rclone thì báo lỗi đến chứng chỉ ,mong anh em hướng dẫn
root@BigNas:~# 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
Bản DSM của bạn cũ quá, nên cert hết hạn rồi, nếu là nas xịn thì update lên bản mới hơn (6.2 hoặc 7), còn nếu muốn táy máy thì thử cách này:
https://github.com/SynoCommunity/spksrc/issues/4897#issuecomment-937376994
cụ thể là lệnh này:
sudo mv /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt.bak && sudo curl -Lko /etc/ssl/certs/ca-certificates.crt https://curl.se/ca/cacert.pem
 

Thống kê chủ đề

Ngày tạo
thanhman18,
Người trả lời cuối
thanhman18,
Trả lời
2
Lượt xem
1.138
Quay lại
Lên đầu trang