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: CERTIFICATE_VERIFY_FAILED - Mac, python 2 and 3 #5605
Comments
|
Could you try with the soultions listed in these comments: #5317 (comment) and #5317 (comment)? |
|
Unfortunately brew uninstall/install openssl did not fix it. Here is my -v output post re-install and the outputs from the re-install logs below that.
brew reinstall openssl
|
|
Maybe you also need to remove the existing certs after uninstalling: |
|
Thanks. I uninstalled openssl, removed that folder, and reinstalled. Still doesn't work for either youtube-dl or wget. Ugh. Any other ideas? |
|
I tried running Btw, does this mean my whole computer/internet is insecure?
|
|
You have to specify the certificates file:
No (I didn't want to scare you ;)), OS X and Firefox don't use openssl. It just means that the homebrew provided openssl (and everything that use it: wget, python, youtube-dl) can't verify if the youtube certificates are correct. |
|
Ah, ok thanks.
When you say |
|
Sorry, when you have openssl installed with homebrew you have to run |
|
Hmm, this is what I get when I enter that command (thanks so much for continuing to help me with this, btw). Also, I have to keyboard escape out of it to get back to my bash prompt for some reason.
|
|
The important info is in the last line
It reads from stdin and sends that message, that's why |
|
I think to fully rule this out I should try testing this with my mac's built in 2.7.6 python but I'm not sure how to specify this through Terminal (since the 2.7.9 brew version overrides the system 2.7.6). I tried How exactly would I tell Terminal to Run wget or youtube-dl but use mac's system 2.7.6 python instead of homebrew's 2.7.9? |
|
|
Ah, ok. So much for that plan, lol. |
Getting the error below with
youtube-dl -v https://www.youtube.com/watch?v=Cgm3r-G0cMQThis on on Mac Yosemite Python 3.4.3. Also, I ran in my systemwide Python 2.7.9 and the -v for that is pasted further down.
Full -v output Python 3:
Full -v output Python 2.7.9