{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/2494","labels_url":"https://api.github.com/repos/pypa/pip/issues/2494/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/2494/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/2494/events","html_url":"https://github.com/pypa/pip/issues/2494","id":60093557,"number":2494,"title":"Install package failed due to SSL error","user":{"login":"nlamirault","id":29233,"avatar_url":"https://avatars.githubusercontent.com/u/29233?v=3","gravatar_id":"","url":"https://api.github.com/users/nlamirault","html_url":"https://github.com/nlamirault","followers_url":"https://api.github.com/users/nlamirault/followers","following_url":"https://api.github.com/users/nlamirault/following{/other_user}","gists_url":"https://api.github.com/users/nlamirault/gists{/gist_id}","starred_url":"https://api.github.com/users/nlamirault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlamirault/subscriptions","organizations_url":"https://api.github.com/users/nlamirault/orgs","repos_url":"https://api.github.com/users/nlamirault/repos","events_url":"https://api.github.com/users/nlamirault/events{/privacy}","received_events_url":"https://api.github.com/users/nlamirault/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-06T12:01:25Z","updated_at":"2015-03-07T01:04:17Z","closed_at":null,"body":"i try to install a package: \r\n\r\n```bash\r\n$ /home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/bin/pip -v install -r Flask\r\nStarting new HTTPS connection (1): pypi.python.org\r\nThere was an error checking the latest version of pip\r\nTraceback (most recent call last):\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/utils/outdated.py\", line 126, in pip_version_check\r\n    headers={\"Accept\": \"application/json\"},\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py\", line 473, in get\r\n    return self.request('GET', url, **kwargs)\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/download.py\", line 365, in request\r\n    return super(PipSession, self).request(method, url, *args, **kwargs)\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py\", line 461, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py\", line 573, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/_vendor/cachecontrol/adapter.py\", line 43, in send\r\n    resp = super(CacheControlAdapter, self).send(request, **kw)\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/_vendor/requests/adapters.py\", line 431, in send\r\n    raise SSLError(e, request=request)\r\nSSLError: [Errno 185090057] _ssl.c:330: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib\r\nCould not open requirements file: [Errno 2] No such file or directory: 'Flask'\r\nException information:\r\nTraceback (most recent call last):\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/basecommand.py\", line 232, in main\r\n    status = self.run(options, args)\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/commands/install.py\", line 321, in run\r\n    finder=finder, options=options, session=session):\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/req/req_file.py\", line 31, in parse_requirements\r\n    session=session,\r\n  File \"/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/download.py\", line 408, in get_file_content\r\n    'Could not open requirements file: %s' % str(exc)\r\nInstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'Flask'\r\n```\r\n\r\nWith option --trusted-host it works :\r\n\r\n```bash\r\n /home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/bin/pip -v install Flask --trusted-host pypi.python.org\r\nStarting new HTTPS connection (1): pypi.python.org\r\n\"GET /pypi/pip/json HTTP/1.1\" 200 36096\r\nCollecting Flask\r\n  Getting page https://pypi.python.org/simple/flask/\r\n  Starting new HTTPS connection (1): pypi.python.org\r\n  \"GET /simple/flask/ HTTP/1.1\" 200 672\r\n  URLs to search for versions for Flask:\r\n  * https://pypi.python.org/simple/flask/\r\n  Getting page https://pypi.python.org/simple/flask/\r\n  \"GET /simple/flask/ HTTP/1.1\" 200 672\r\n  Analyzing links from page https://pypi.python.org/simple/flask/\r\n    Found link https://pypi.python.org/packages/source/F/Flask/Flask-0.1.tar.gz#md5=d0c458397c49114fa279716798ca80c8 (from https://pypi.python.org/simple/flask/), version: 0.1\r\n```\r\n\r\nAny idea ?\r\nI'm using pip 6.0.8 on Python 2.6\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/77663900","html_url":"https://github.com/pypa/pip/issues/2494#issuecomment-77663900","issue_url":"https://api.github.com/repos/pypa/pip/issues/2494","id":77663900,"user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T01:04:17Z","updated_at":"2015-03-07T01:04:17Z","body":"It looks like there's something wrong with your CA certificates possibly. Do you have a file at `/etc/ssl/certs/ca-certificates.crt`?\r\n\r\nSee http://stackoverflow.com/questions/6824332/mercurial-ssh-certificate-issue"}}