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

Fix options parsing for SSL options

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 100.0.0
    • Affects Version/s: None
    • Component/s: mongo-tools-common
    • None

      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.

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

              Created:
              Updated:
              Resolved: