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

Server-side MacOS and Windows SSL configuration doesn't fail if the PEM file is absent

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.9.0
    • 5.0 Desired
    • None
    • MacOS
    • Fully Compatible
    • OS X
    • Security 2021-01-11

    Description

      This is an existing problem discovered by a new test. Apparently MacOS SSL configuration just doesn't fail if the PEM file is not provided.

      The new test reproducing the problem (which I'm commenting out for now for Apple) is 
      InitContextFromFileShouldFail in src/mongo/util/net/ssl_manager_test.cpp.

       

      Update: found the same failure on Windows, though it works on Linux as expected.
       

      Attachments

        Activity

          People

            sara.golemon@mongodb.com Sara Golemon
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: