vCenter triggered an alarm regarding LDAPS certificate expiry, or LDAPS user authentication stops working due to the LDAPS certificate expired: "Identity Source LDAP Certificate is about to expire"
The /var/log/vmware/sso/ssoAdminServer.log will report the following warnings and error traces.
YYYY-MM-DD HH:MM:SS WARN ssoAdminServer [548 : pool-2-thread-8] [OpId=mlhyq0ts-231965-auto-4yzk-h5: 70036502] [com.vmware[ldaps: //<<server_name>>: 636, CN=vcloudadmin, CN=User cannot bind connection:
YYYY-MM-DD HH:MM:SS ERROR ssoAdminServer [548 : pool-2-thread-8] [OpId=mlhyq0ts-231965-auto-4yzk-h5 : 70036502] [com.vmware. identity.idm.server. ServerUtils] cannot establish ldap connection with URI: [ldaps://<<server_name>> : 636]because [com. vmware.identity. interop. ldap. ServerDownLdapException] with reason [Can't contact LDAP server] therefore will try to attempt to use secondary URIs, if applicableYYYY-MM-DD HH:MM:SS ERROR ssoAdminServer [548 : pool-2-thread-8] [OpId=mlhyq0ts-231965-auto-4yzk-h5: 70036502] [com.vmware.identity.idm.server. rovider. BaseLdapProvider] com. vmware. identity. interop. ldap. ServerDownLdapException: Can't contact[code: -1]YYYY-MM-DD HH:MM:SS ERROR ssoAdminServer [548 : pool-2-thread-8] [OpId=mlhyq0ts-231965-auto-4yzk-h5 : 70036502] [com.vmware.identity.idm.server. IdentityManager] Failed to find person users [Criteria : searchString=, domain=######] in tenant [vsphere. local]YYYY-MM-DD HH:MM:SS ERROR ssoAdminServer [548 : pool-2-thread-8] [OpId=mlhyq0ts-231965-auto-4yzk-h5: 70036502] [com.vmware.identity.idm.server. ServerUtils] Exception 'com. vmware. identity. interop. ldap. ServerDownLdapException: Can't contact LDAP server\nLDAPcom. vmware. identity. interop. ldap. ServerDownLdapException: Can't contact LDAP server
LDAPS Identity Provider SSO authentication relies on the LDAPS service machine certificate to be valid for authentication to succeed. If the LDAPS certificate expires, authentication via this Identity Provider will fail.
/opt/vmware/bin/sso-config.sh -get_identity_sourcesopenssl s_client -connect domain_controller.example.com:636 -showcertsUse proper certificate files for VC LDAPS IdP configuration:
Fails to save LDAPS configuration if trying to edit the existing configuration: