{"action":"opened","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/4807","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/4807/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/4807/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/4807/events","html_url":"https://github.com/rg3/youtube-dl/issues/4807","id":55826287,"number":4807,"title":"ssl certificate verify failed, on freebsd 10.1","user":{"login":"satan1st","id":4224522,"avatar_url":"https://avatars.githubusercontent.com/u/4224522?v=3","gravatar_id":"","url":"https://api.github.com/users/satan1st","html_url":"https://github.com/satan1st","followers_url":"https://api.github.com/users/satan1st/followers","following_url":"https://api.github.com/users/satan1st/following{/other_user}","gists_url":"https://api.github.com/users/satan1st/gists{/gist_id}","starred_url":"https://api.github.com/users/satan1st/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satan1st/subscriptions","organizations_url":"https://api.github.com/users/satan1st/orgs","repos_url":"https://api.github.com/users/satan1st/repos","events_url":"https://api.github.com/users/satan1st/events{/privacy}","received_events_url":"https://api.github.com/users/satan1st/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-28T22:33:49Z","updated_at":"2015-01-28T22:33:49Z","closed_at":null,"body":"Hello, on FreeBSD youtube-dl fails, if you request a https-site:\r\n```\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: ['-v', '--no-check-certificate', 'http://youtu.be/fNGho63QYT0']\r\n[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8\r\n[debug] youtube-dl version 2015.01.25\r\n[debug] Python version 2.7.9 - FreeBSD-10.1-RELEASE-amd64-64bit-ELF\r\n[debug] exe versions: ffmpeg 2.3.6, ffprobe 2.3.6, rtmpdump 2.4\r\n[debug] Proxy map: {}\r\n[youtube] fNGho63QYT0: Downloading webpage\r\nERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)> (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py\", line 299, in _request_webpage\r\n    return self._downloader.urlopen(url_or_request)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1571, in urlopen\r\n    return self._opener.open(req, timeout=self._socket_timeout)\r\n  File \"/usr/local/lib/python2.7/urllib2.py\", line 431, in open\r\n    response = self._open(req, data)\r\n  File \"/usr/local/lib/python2.7/urllib2.py\", line 449, in _open\r\n    '_open', req)\r\n  File \"/usr/local/lib/python2.7/urllib2.py\", line 409, in _call_chain\r\n    result = func(*args)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/utils.py\", line 659, in https_open\r\n    req)\r\n  File \"/usr/local/lib/python2.7/urllib2.py\", line 1197, in do_open\r\n    raise URLError(err)\r\n```\r\nI have run git bisect and found out the commit be4a824d74add1a3b78b8244dff12f4f078f168a is the problem."}}