Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to download Youtube videos - SSL: CERTIFICATE_VERIFY_FAILED #11573
Comments
|
Can you watch it in browser in the first place? Download curl and post the output of |
|
Microsoft Windows [Version 6.1.7601] C:\Windows\system32>cd C:\Users\Admin\Documents\curl-7.52.1-win32-mingw\curl-7.52 C:\Users\Admin\Documents\curl-7.52.1-win32-mingw\curl-7.52.1-win32-mingw\bin>curl
<
C:\Users\Admin\Documents\curl-7.52.1-win32-mingw\curl-7.52.1-win32-mingw\bin> |
|
Most likely you have some expired certificates in system store you may want to manually remove. |
|
That was it, I had a cert that expired 12/31/2016. For anyone else having the issue, here are the steps that were posted to manually remove a cert:
|
|
Thank you man, you saved my ass in 2017 too :) |
|
excelent advice Orion4444 same error, same fix ;) |
|
@orion4444 Thank you. you are a lifesaver. The solution still worked in 2018. |
|
I didn't have any expired certificates using |
@orion4444 I think I wrote this exact comment, maybe originally on #7309 - and it's not there anymore (I didn't remove it myself). How come it now shows up with your name, and my own comment is gone? did someone edited comments? is it a github bug? |
|
@avih - it's there (#7309 (comment)), just show hidden comments. |
Oh. Thanks :) |
|
How about the macOS? |
|
After trying all the solutions from current issue and issue 4816, neither of them did work for me. Here is my final solution, I find the default ca-certification of It works! My guess: the youtube-dl package or python didn't find the expected ca-certification file in its default search paths inside. My environment:
|
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.12.22. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):