Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87950

Modify "mongo" shell to use Transient SSL Managers and connection strings when establishing connections

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • Security 2024-03-18, Security 2024-04-01, Security 2024-04-15, Security 2024-09-02, Security 2024-09-16, Security 2024-09-30

      To achieve per-connection settings on the Mongo() jstest class, we will need a way to configure the individual transports used in the mongo shell, which today uses a single connection and therefore a single transport layer (manager) instance.

      transport/asio/asio_transport_layer.cpp:1492 gives an example of how this can be constructed.

      Once we have a transient SSL manager constructed, we can provide additional SSL parameters through a connection string parameter (see how this is done in serverless implementations)

      This ticket should not break any existing tests and is a backend refactor only.

            Assignee:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Reporter:
            adam.rayner@mongodb.com Adam Rayner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: