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

Use of --uri overrides use of --ssl

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4, 3.6.5
    • Affects Version/s: None
    • Component/s: All Tools
    • None
    • 0.5
    • v3.6

      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).

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

              Created:
              Updated:
              Resolved: