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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: