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

Add SSL/TLS test with multiple certificates in one PEM file

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: All Tools
    • None
    • 717

      TOOLS-2598 changes the behavior of the tools so that if there is a PEM file with multiple certificates, the first certificate is the one that's compared against the private key in the file, rather than the last certificate.

      We wanted to add an integration test alongside those changes, but in order to have the test work on Evergreen, we would've needed to setup a mongod / replica set using different options just for this one test. This proved to be more work than it's worth, so I manually verified that the TOOLS-2598 changes work as intended.

      We can add the integration test (see attached) as part of this ticket once we're using mlaunch (TOOLS-3226) to make it easier to set up a replica set with those different options. This ticket should take a few mins to complete after that.

        1. test-client-multiple-certs.pem
          8 kB
        2. db_test.go
          1 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            evgeni.dobranov@mongodb.com Evgeni Dobranov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: