Skip to content
Station in the Metro
Menu
  • Voiceover & Voice Acting
  • CV
  • The Optical Podcast
  • Apps and Scripts
    • Django Internal Links
    • Django MultiRangeField
    • FeedPress Subscribers Status Board Graph Panel
    • Post Atomic Horror Unofficial Episode Guide
    • Markdown Cheat Sheet
    • Proper English Title Caps 2 for iTunes
    • Clean Ripped TV Episodes for iTunes
    • Track Name Clean Parts for iTunes
  • Casio PT-7
    • Photo Galleries
    • Operation Manual
    • Keyboard ribbon cable repair
  • Colophon
Menu

SSL Certificates in Python 3.6

Posted on 2017-06-102017-06-10 by Mark Boszko
This post was published more than a few years ago (on 2017-06-10) and may contain inaccurate technical information, outmoded thoughts, or cringe takes. Proceed at your own risk.

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:

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 the root certificates needed to validate connections. It seems the Python 3.6 installer warns you about this during the install, but it's easy to miss. It's also in the README, and there's a behavior bug for Python suggesting that it get installed automatically. Thanks to this Stack Overflow post for the help.

Mark Boszko

Film & Video Editor, Voiceover Artist, macOS IT Engineer, and Maker

© 2025 Mark Boszko | find Mark elsewhere on the internet