Подтвердить что ты не робот

ОШИБКА: сертификат "raw.githubusercontent.com" не проверен

Я пытаюсь использовать wget для извлечения некоторого файла из github поверх удаленного сервера (ssh), вот что я получаю:

$ wget  https://raw.githubusercontent.com/aseemk/seadragon-ajax/master/seadragon-min.js
--2014-11-26 09:30:14--  https://raw.githubusercontent.com/aseemk/seadragon-ajax/master/seadragon-min.js
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.31.19.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.31.19.133|:443... connected.
ERROR: The certificate of `raw.githubusercontent.com' is not trusted.
ERROR: The certificate of `raw.githubusercontent.com' hasn't got a known issuer.

То же самое для curl:

$ curl -o bla  https://raw.githubusercontent.com/aseemk/seadragon-ajax/master/seadragon-min.js
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://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 verification of the certificate, use
 the -k (or --insecure) option.

Использование опции wget: --no-check-certificate кажется взломанным, что я могу потерять?

4b9b3361

Ответ 1

Решение было простым, из моей дебианской системы просто установите:

$ sudo apt-get install ca-certificates

Ответ 2

У меня была эта проблема на raspbian, исправлена ​​ее с помощью

sudo apt-get install ssl-cert