title: Unable to get local issuer certificate when using requests in python
body: <p>here is my code</p>
  <pre><code>import requests;
  url='that website';
  headers={
    'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
    'Accept-Language':'zh-CN,zh;q=0.9,en;q=0.8,ja;q=0.7',
    'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36'
  };
  r = requests.get(url,headers=headers);
  print(r);
  print(r.status_code);
  </code></pre>
  <p>then it ran into this:</p>
  <blockquote>
  <p>requests.exceptions.SSLError:</p>
  <p>HTTPSConnectionPool(host='www.xxxxxx.com', port=44 3):</p>
  <p>Max retries exceeded with url: xxxxxxxx (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]</p>
  <p>certificate verify failed: unable to get local issuer certificate
  (_ssl.c:1045)')))</p>
  </blockquote>
  <p>what should i do?</p>