Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8908

mongo shell and connection string (make "ssl" work if present in the connection uri)

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

      I was wondering why with the mongo shell, you cannot include the ssl=true option in the connection string?

      the following works

      mongo mongodb://<username>:<pwd>@<host1>,<host2>,<host3>/admin?replicaSet=docsfeedback-shard-0  --ssl 
      

      but the following does not

      mongo mongodb://<username>:<pwd>@<host1>,<host2>,<host3>/admin?replicaSet=docsfeedback-shard-0&ssl=true
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 6 days ago