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

Fix options parsing for SSL options

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 100.0.0
    • Component/s: mongo-tools-common
    • Labels:
      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

            Assignee:
            tim.fogarty Tim Fogarty
            Reporter:
            tim.fogarty Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: