Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate expiration?? #25521

Closed
seamusdemora opened this issue Jun 4, 2020 · 2 comments
Closed

Certificate expiration?? #25521

seamusdemora opened this issue Jun 4, 2020 · 2 comments
Labels

Comments

@seamusdemora
Copy link

@seamusdemora seamusdemora commented Jun 4, 2020

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
While attempting to download youtube-dl from the designated site: https://yt-dl.org/downloads/latest/youtube-dl, I received the following message indicating the certificate the server is using has expired:

$ 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 --:--:-- --:--:-- --:--:--     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.

Will this be resolved, or should I use the --insecure option??

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 4, 2020

@dstftw dstftw closed this Jun 4, 2020
@seamusdemora
Copy link
Author

@seamusdemora seamusdemora commented Jun 4, 2020

@dstftw: Thanks for that... but the resolution is unclear. What do I do to resolve the issue?

It's also odd that now, each time I try to run ytdl, I get an immediate zsh: no matches found: https://www.youtube.com/watch?v=HwDcFP2WJPw

For example:

 % youtube-dl --simulate https://www.youtube.com/watch?v=HwDcFP2WJPw
zsh: no matches found: https://www.youtube.com/watch?v=HwDcFP2WJPw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.