Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-1999

Use of --uri overrides use of --ssl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.4, 3.6.5
    • Component/s: All Tools
    • Labels:
      None
    • Backport Requested:
      v3.6

      Description

      When a --uri option is used, the absence of the ssl option there overrides an --ssl option on the command line. E.g.

      1. will not use SSL: mongodump --uri=mongodb://localhost:27017/ --ssl
      2. will use SSL: mongodump --uri=mongodb://localhost:27017/?ssl=true
      3. will not use SSL: mongodump --uri=mongodb://localhost:27017/?ssl=false --ssl

      Case 1 should use SSL. Case 2 is fine. Case 3 should be an error about conflicting arguments (as is done for other URI/command-line conflicts).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                david.golden David Golden
                Reporter:
                david.golden David Golden
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: