SSL Certificates in Python 3.6
Note to self: After installing Python 3.6 on your Mac, run /Applications/Python 3.6/Install Certificates.command so your SLL connections don’t fail. The error you might get, when this is the case, is:
1 2 |
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) |
Python 3.6 no longer links to the macOS-supplied SSL libraries and now includes its own copy of OpenSSL, but it doesn’t automatically install …