Le 11 novembre 2020 à 23:23, pehache nous a donné les informations
Post by pehachePost by Manfred La CassagnerePost by pehache"/usr/local/bin/youtube-dl" fait partie de la première ligne, après le
"-o"
imac-de-manfred-3:~ Manfred$ sudo curl -L
https://yt-dl.org/downloads/latest/youtube-dl
-o/usr/local/bin/youtube-dl
% 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: Invalid certificate chain
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's verification of the certificate, use
the -k (or --insecure) option.
imac-de-manfred-3:~ Manfred$
Je ne sais pas si c'est la raison de l'erreur, mais il faut une espace
après le "-o"
"... -o /usr/local/bin/youtube-dl"
Résultat après avoir mis l'espace:
imac-de-manfred-3:~ Manfred$ sudo curl -L
https://yt-dl.org/downloads/latest/youtube-dl -o
/usr/local/bin/youtube-dl
Password:
% 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: Invalid certificate chain
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's verification of the certificate, use
the -k (or --insecure) option.
imac-de-manfred-3:~ Manfred$
--
Deux intellectuels assis vont moins loin qu'une brute qui marche.
Michel Audiard