You may experience intermittent or complete login failures when attempting to authenticate through VMware Identity Manager. When this occurs, the user interface or authentication logs will display the following error message:
call to directory service failed
/opt/vmware/horizon/workspace/logs/connector.log will report following error
Caused by: com. vmware.horizon. directory. DirectoryServiceException: Directory connectivity or configuration error (Err #002a)
. .
Caused by: javax. net . ss1 . SSLHandshakeException
. .
Caused by: java. security. cert. CertificateException
. . VMware Identity Manager 3.3.7
This issue occurs when Active Directory Domain Controllers has different LDAPS certificates being served across various Domain Controllers. If VMware Identity Manager is only configured to trust a single specific certificate, it will fail the SSL handshake when attempting to connect to a Domain Controller that serves a different, yet valid, certificate.
Prerequisite : Obtain all the required Root CA certificates for your configured Domain Controllers
Update the VMware Identity Manager directory configuration to include the certificate chain for all active Domain Controller certificates.
Log in to the VMware Identity Manager administration console.
Navigate to Identity & Access Management > Directories.
Select your Active Directory to edit the configuration.
In the SSL Certificate section, add all the certificates one after another. Make sure each certificate is in the PEM format with the delimiter lines 'BEGIN CERTIFICATE' and 'END CERTIFICATE'.
Save the configuration and click Test Connection to verify that the directory service connects successfully.