After replacing the SSL certificate on an Active Directory (AD) Domain Controller or Load Balancer, vCenter Single Sign-On (SSO) fails to connect or authenticate users. The vSphere Client reports the exact error: "The LDAP connection is not secured".
VMware vCenter Server (vSphere)
vCenter Single Sign-On (SSO)
vCenter SSO continues to cache the old Active Directory certificate. The trust mismatch between the old cached certificate and the newly installed AD certificate causes the secure LDAPS connection to fail. Replacing the vCenter machine SSL certificate does not automatically update the LDAP identity source trust.
Export the new public certificate (and its full trust chain) from the Active Directory Domain Controller or Load Balancer as a Base64-encoded .cer or .crt file.
Log in to the vSphere Client using a local SSO administrator account (e.g., administrator@vsphere.local).
Navigate to Administration > Single Sign On > Configuration.
Select the Identity Sources tab.
Select the Active Directory (over LDAP) identity source and click Edit.
In the Certificates (for LDAPS) section, remove the old certificate(s) and upload the new .cer file.
Click Save.
If you receive a "Can't contact LDAP server" or "Failed to probe provider connectivity" error when saving the edit, the identity source must be re-created:
Document all existing settings of the current Identity Source (Primary server URL, Base DN, domain name, etc.).
Click Remove to delete the existing identity source.
Click Add, select Active Directory over LDAP, and enter the identical configuration details.
Upload the new certificate file in the Certificates (for LDAPS) section and complete the wizard.
Note: If the identity source is removed and re-added, you must re-add your AD groups to vCenter roles under Global Permissions if the previous mappings dropped. To avoid this, recreate the Identity Source with exactly the same name as the previous Identity Source.