Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2520

Fix options parsing for SSL options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 100.0.0
    • mongo-tools-common
    • None

    Description

      There are three things that need to be fixed for SSL options:

      1. setOptionsFromURI does not handle the tlscertificatefile URI option (it only handles the legacy sslclientcertificatekeyfile option)

      2. db.configureClient after TOOLS-2513 doesn't handle TLS in the same way as ApplyURI so needs to be updated. This depends on tlscertificatefile being properly supported in setOptionsFromURI.

      3. The checks for SSLInsecure and SSL options in setOptionsFromURI don't follow the same pattern as the rest of the checks so should probably be refactored to conform.

      Attachments

        Activity

          People

            tim.fogarty@mongodb.com Tim Fogarty
            tim.fogarty@mongodb.com Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: