Mac OSX python ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) : <p>Many operations in python require accessing things via https. This includes pip install, or just using http.client.HTTPSConnection, or any modules or applications that use these things internally.</p>

<p>If python was installed from the official python pkg installer, downloaded from <a href="https://python.org" rel="noreferrer">https://python.org</a>, then it uses an internal version of openssl, and contains no root certificates. Anything that uses an SSL connection results in this error:</p>

<pre><code>ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)
</code></pre>

<p>How can I install root certs to make the above error go away?</p>
