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

0S X 10.4 and SSL certificate #9040

Closed
unixb4coffee opened this issue Mar 31, 2016 · 3 comments
Closed

0S X 10.4 and SSL certificate #9040

unixb4coffee opened this issue Mar 31, 2016 · 3 comments

Comments

@unixb4coffee
Copy link

@unixb4coffee unixb4coffee commented Mar 31, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.03.27. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.03.27

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [ x] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

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 -v flag 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 ```):


ub4c1:~ $ youtube-dl -v https://www.youtube.com/watch?v=NQSAr8Y9N3A
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=NQSAr8Y9N3A']
[debug] Encodings: locale US-ASCII, fs utf-8, out US-ASCII, pref US-ASCII
[debug] youtube-dl version 2016.03.27
[debug] Python version 2.7.11 - Darwin-8.11.0-Power_Macintosh-powerpc-32bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] NQSAr8Y9N3A: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),))
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 366, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1934, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 864, in https_open
    req, **kwargs)
  File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)

ub4c1:~ $ 

...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.

@mikaiyl
Copy link

@mikaiyl mikaiyl commented Apr 1, 2016

It works fine for me running debian. It seems to be an upstream issue with open _ssl.c for python specifically on mac Homebrew/legacy-homebrew#38226.

Make sure your openssl and python packages are up to date.
Also duplicate of #8961

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Apr 1, 2016

A common cause on Mac is described in #5317. Detailed steps are in #5317 (comment). If it doesn't work, feel free to open a new issue with more details (at least how did you install Python and OpenSSL).

@yan12125 yan12125 closed this Apr 1, 2016
@unixb4coffee
Copy link
Author

@unixb4coffee unixb4coffee commented Apr 17, 2016

The --no-check-certifcate option allows the download. I'm checking
the other updates, too, thanks .....

unixb4coffee@gmail.com

Ctalk - Object oriented extensions of C.
Ctalk Web Site: http://sf.net/projects/ctalk/.
Mail: rk3314042@gmail.com

On 4/1/16, Yen Chi Hsuan notifications@github.com wrote:

Closed #9040.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#9040 (comment)

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
3 participants
You can’t perform that action at this time.