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
Host: yt-dl.org. is not in the cert's altnames #28196
Comments
Looks like I have the same issue
and while youtube-dl -v -U:
|
For those who are looking for a temporary workaround with cURL: you can turn off cURL's verification of the certificate, using the -k (or --insecure) option. Please note that as the option said, it is insecure. You shouldn't use this option because it allows man-in-the-middle attacks and defeats the purpose of HTTPS; downloading directly from the yt-dl.org site would be a safe alternative. |
I saw that, and like you said, it's not recommended... So I'm searching for another solution for that... I'm wondering if it's a problem from my code or directly from yt-dl |
Often this is an issue with the host (yt-dl.org) and they will need to fix their certificate. As I mentioned, downloading directly from their site is a secure alternative. |
I downloaded my files on their website, so I don't think this the solution. I think I will wait to see if it's solve. By the way, I use this host for discord bot ^^ |
I had the same certificate error as you and sula7 using the cURL/wget command, but I was able to download the tar file from yt-dl to a new virtual machine and use it to successfully download a video from Youtube. So I don't believe their current version is at fault, but rather certificate handling. |
For those that might not want to bother with the tar file, quick copy-paste, referencing the 'latest' release from github: Hardcoded:
Alternatively, getting the latest (credits: https://gist.github.com/steinwaywhw/a4cd19cda655b8249d908261a62687f8#gistcomment-3199552) :
If you need The first part generates the latest release link, like: I can submit a PR to |
|
In addition to the workaround on this issue, I created a tiny microservice for pointing the latest youtube-dl binary available at GitHub releases:
source code is available at https://github.com/microlinkhq/youtube-dl-binary |
Mmmmh... help?
The text was updated successfully, but these errors were encountered: