2026-02-25T21:32:43.153Z ERROR [com.vmware.identity.interop.ldap.OpenLdapClientLibrary] ldap_bind_s : Can't contact LDAP server (-1) additional info: TLS: hostname does not match CN in peer certificateVMware vCenter Server
While this error can occur due to any number of problems that would cause the vCenter Server to be unable to connect to the Domain Controller on secure port TCP 636 (i.e. blocked network ports, no network route, mismatching certificate trust), this specific cause is because the Domain Controller is being added by its IP in the Identity Source but its leaf certificate does not contain its IP as a Subject Alternative Name.
This can be fixed by either;
See Configuring a vCenter Single Sign-On Identity Source using LDAP with SSL (LDAPS) for more information.