title: certificate verify failed using pip install, main problem, (_ssl.c:1108)
body: <p>I've been trying to install python packages using:</p>
  
  <pre><code>pip install &lt;package&gt;
  </code></pre>
  
  <p>and all I get is:</p>
  
  <p>"WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
   certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/"</p>
  
  <p>I know the code that can fix the problem, for which is (seldomly works):</p>
  
  <pre><code>pip3 install --trusted-host=pypi.org --trusted-host=files.pythonhosted.org --user &lt;package&gt;
  </code></pre>
  
  <p>but I want to know what is happening behind the scene, what's the core problem and how can I use pip like always!</p>
  
  <p>I'd be tremendously happy if you could help me out.</p>