Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10303

Document macOS / Python 3.6 / SSL workaround for Atlas connections

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Critical - P2 Critical - P2
    • None
    • None
    • None
    • None

    Description

      The Python 3.6 installers for macOS from python.org bundle a custom build of OpenSSL, rather than building against the Apple provided OpenSSL version. The installer does not automatically install any CA certificates. You have to run a script after installation to install an up to date CA bundle:

      open "/Applications/Python 3.6/Install Certificates.command"
      

      Before running that script connections to Atlas will fail certificate verification. After running the script connections will succeed. More details are available here:
      https://bugs.python.org/issue29065#msg283984

      This problem will affect any user of Python 3.6.0+ from python.org on macOS (users of python 3.6 installed by other means - like homebrew - are likely unaffected). Previous Python versions (<=3.5) are not affected.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 38 weeks ago