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

Perform connectivity and TLS checks for DNS-resolved IP addresses in mongoldap

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Security
    • Fully Compatible
    • Security 2023-09-04, Security 2023-09-18, Security 2023-10-02

      The LDAP DNS cache only caches resolved addresses from SRV records, not A records. If the IP addresses presented in A records are cached and connected to directly, TLS may fail as the remote host's certificate's subject will often correspond to the domain and not specify the resolved IP address, resulting in subject name mismatch.

      However, mongoldap can provide the output of the DNS lookup and provide a connectivity test to each of those resolved records, even for A records. It can also make a best-effort attempt at TLS connections and potentially swallow subject name mismatch errors if the presented certificate's subject matches the domain corresponding to the IP address.

            Assignee:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: