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.
SSL error #8961
SSL error #8961
Comments
|
Possibly duplicate of #7309. Could you try the solution at #7309 (comment)? |
|
Tried to no avail. In my cert store, I don't have any Google/Youtube-related certs at all... |
|
Do you have a "GeoTrust Global CA" certificate? |
|
Two of them as well, and both expire somewhere in 2022. |
|
There should be exactly one. Can you check that both have exactly the name "GeoTrust Global CA"? |
|
I also have this issue on Linux. New cert file, openssl 1.0.2g, python 2.7.11. I also tried the 2016.03.14 version of youtube-dl, same results. It seems to be a youtube-specific problem, as CBS (Platform) works fine. |
|
Forgot to ask. Did you use proxies? Post the verbose log with
@steve5777 On Linux SSL certs handling is different from Windows. Please refer to #5225. |
|
No, I didn't use a proxy. And here's the log. Hope it helps! BTW, with --no-check-certificate it does work fine. [debug] System config: [] |
|
@steve5777 Please open a new issue. Don't mix Linux logs in an issue for Windows. |
|
OK, sorry about that. In my case, the problem turned out to be a Python update. Apparently all versions since 2.7.9 try to verify certs by default. After much searching, it turns out all I needed to do was set the variable SSL_CERT_FILE to the correct location. No idea if this helps with Windows, though. |
|
inb4 update openssl and python Homebrew/legacy-homebrew#38226 |
|
Don't discuss SSL issues on non-Windows systems in this thread anymore. I'm waiting for @thany's response for what's happening on his/her system. SSL things are quite different on Windows and other systems. Just don't mix them together. |
|
Same issue here on window 10 but not with youtube but soundclound
|
|
@cc0ut As another reporter said in #9046 (comment): you need to visit https://soundcloud.com/ and https://api.soundcloud.com/ in Internet Explorer or Edge so that Windows will fetch the necessary certificates. |
|
That works. |
|
Two possibilities:
I believe @thany is also a victim of Microsoft's new policy. If anyone gets the same error, feel free to open a new issue or leave comments here. |
|
I have got the same error and solved by accessing youtube with IE11. Error message
What I did
Env
|
|
But such a thing shouldn't be necessary, right? For instance, this cannot be done on a Server Core edition of Windows which doesn't have any GUI. Furthermore, IE11 is a deprecated browser - requiring that, even if only once, feels not right. Lastly, it's a workaround that seemingly has nothing to do with the script. I mean, why would visiting the site with a deprecated browser magically fix this script? Makes no sense to me. But good to know there's a workaround. Because that's really what it is :) |
|
Here's a follow-up: a pending patch at http://bugs.python.org/issue28747 enables Python the ability to update system certificates, just like IE.
Indeed. Another Microsoft software design with no sense. |
|
The workaround, accessing the site with IE11, doesn't work for me on at least one computer I got. Just tried with a freshly downloaded copy of youtube-dl, and on a fully up-to-date Windows 10. I've got Python 2.7.13 installed, does that matter?... |
|
Sorry I can't help you more. There are tons of reasons in SSL errors and most of them are beyond my imagination. If you know how to build Python on Windows, my patch at http://bugs.python.org/issue28182 can give more information for SSL errors.
Theoretically, no |
Just downloaded a fresh copy 5 minutes ago, tried it with a simple command like this:
And there ya go:
That's on Windows 10. All my browsers can open the url perfectly fine without warnings or anything.