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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.9.0
    • Affects Version/s: 5.0 Desired
    • Component/s: None
    • Environment:
      MacOS
    • Fully Compatible
    • OS X
    • Security 2021-01-11

      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.
       

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

              Created:
              Updated:
              Resolved: