Identity Source LDAP Certificate is about to expire".Invalid credentials" error on the vCenter login screen.ssoAdminServer.log on the vCenter Server reports ServerDownLdapException and cannot establish ldap connection errors similar to the following:YYYY-MM-DD HH:MM:SS WARN ssoAdminServer [548 : pool-2-thread-8] [OpId=####-####-####-###-##:] [com.vmware. identity.idm.server. ServerUtils] ldaps: //<<server_name>>: 636, CN=#####, CN=User cannot bind connection
YYYY-MM-DD HH:MM:SS ERROR ssoAdminServer [548 : pool-2-thread-8] [OpId=####-####-####-###-##:] [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=####-####-####-###-##:] [com.vmware.identity.idm.server. Provider. 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=####-####-####-###-##:] [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=####-####-####-###-##:] [com.vmware.identity.idm.server. ServerUtils] Exception 'com. vmware. identity. interop. ldap. ServerDownLdapException: Can't contact LDAP server\nLDAP com. vmware. identity. interop. ldap. ServerDownLdapException: Can't contact LDAP server
websso.log explicitly reports that the LDAPS certificate is not trusted:
/var/log/vmware/sso/websso.logYYYY-MM-DD HH:MM:SS ERROR websso [85: tomcat-http -- 46] [CorId=####] [com. vmware. identity. interop. ldap. OpenLdapClientLibrarcertificate not trusted: Subject (CN=<FQDN>, OU=<OU_Name>, O=<Organization>, L=<City>, ST=<State>, C=<Country>
vCenter Server 7.x
vCenter Server 8.x
Take a snapshot of the VCSA VM before making any changes. If the vCenter is part of a Linked Mode setup, ensure there is a backup and offline snapshot for all replicating nodes. Refer: VMware vCenter in Enhanced Linked Mode pre-changes snapshot (online or offline) best practice
Note: If the vCenter is in ELM, perform the following steps on only one of the linked vCenter servers, since the Identity Provider configuration will be replicated to the other linked vCenter servers. Also, it does not matter which vCenter is chosen for the certificate update. The configuration needs to be removed and re-created to update the LDAPS certificate, it cannot be Edited.
openssl s_client -connect domain_controller.example.com:636 -showcertsnotAfter date in the certificate output to determine your next steps:When preparing certificate files for the vCenter LDAPS Identity Provider (IdP) configuration, use the following steps to convert a .p7b file to the required Base64 format:
certlm.msc) to do this..cer format..cer file in Notepad to view it in clear text. Additionally, double-clicking the .cer file should open it successfully in the standard Windows Certificate viewer..cer file is successfully exported, delete the certificate you initially imported from the .p7b file from the folder it was saved to.vCert tool can also be used to update the LDAPS certificates without removing and recreating the identity provider in vSphere with option 3 followed by option 11. If the vCenter is in ELM this will also remediate the other nodes of the ELM with no additional steps or service restarts.