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

Use of --uri overrides use of --ssl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.7.4, 3.6.5
    • All Tools
    • None
    • 0.5
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: