title: Python requests SSL certificate verification fails, even after adding CA certificates
body: <p>I've been using the Python Requests library to scrape a website for a while now, but the website recently changed SSL certificates, and the new cert won't verify with requests.</p>
  
  <p>Based on answers to similar questions, I've updated requests and urllib3 to the latest versions (2.4.3 and 1.9.1), and manually added the CA certs to requests' cacert.pem (/usr/local/lib/python2.7/dist-packages/requests/cacert.pem).</p>
  
  <p>I can successfully use this cacert.pem file with curl, but still not with requests:</p>
  
  <pre><code>&gt; curl --head --cacert /usr/local/lib/python2.7/dist-packages/requests/cacert.pem
  https://jordan-cu.org
  
  HTTP/1.1 200 OK
  Date: Thu, 20 Nov 2014 16:21:28 GMT
  Server: Apache
  X-Pingback: https://jordan-cu.org/xmlrpc.php
  Link: &lt;https://jordan-cu.org/&gt;; rel=shortlink
  X-Powered-By: PleskLin
  Content-Type: text/html; charset=UTF-8
  
  &gt; python
  Python 2.7.4 (default, Sep 26 2013, 03:20:26)
  [GCC 4.7.3] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; requests.get('https://jordan-cu.org')
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 60, in get
      return request('get', url, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 49, in request
      return session.request(method=method, url=url, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request
      resp = self.send(prep, **send_kwargs)
    File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
      r = adapter.send(request, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 420, in send
      raise SSLError(e, request=request)
  requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  </code></pre>
  
  <p>I'm not sure what else to try at this point. Any help is appreciated!</p>