title: brew installation of Python 3.6.1: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
body: <p>I installed python 3.6 using </p>
  
  <p><code>brew install python3</code></p>
  
  <p>and tried to download a file with <code>six.moves.urllib.request.urlretrieve</code> from an https, but it throws the error</p>
  
  <blockquote>
    <p>ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)</p>
  </blockquote>
  
  <p>In the Python installation (from .pkg), the README indicates that one needs to run the <code>Install Certificates.command</code> after the installation <a href="https://bugs.python.org/msg276516" rel="noreferrer">to</a></p>
  
  <ol>
  <li>install <code>certifi</code></li>
  <li>symlink the certification path to <code>certify</code> path</li>
  </ol>
  
  <p>to be able to use certificates.</p>
  
  <p>However, in brew install, this file does not exist and it does not seem to be run.</p>