After upgrading Java, LDAP Sync fails with the following error when connecting via LDAPS:
PoolableLdapConnectionFactory WARN Cannot bind : PROTOCOL_ERROR: The server will disconnect!
2020-01-23 19:00:16.347 [main] c.a.s.l.LDAPSynchronizer ERROR Could not connect to LDAP server. Please check LDAP username and password.
com.automic.sara.ldapsync.exceptions.SynchronizationException: Could not connect to LDAP server. Please check LDAP username and password.
at com.automic.sara.ldapsync.ldap.LDAPService.start(LDAPService.java:89)
at com.automic.sara.ldapsync.steps.InitializeStep.execute(InitializeStep.java:30)
at com.automic.sara.ldapsync.SynchronizationStepChain.execute(SynchronizationStepChain.java:33)
at com.automic.sara.ldapsync.LDAPSynchronizer.run(LDAPSynchronizer.java:58)
at com.automic.sara.ldapsync.LDAPSynchronizer.main(LDAPSynchronizer.java:28)
Release : 12.2
Component : AUTOMATION ENGINE
The new installation of Java does not have the correct SSL certificates.
Compare the cacerts from your new installation to the older installation. If these are different, either:
A.) Copy the cacerts from the older java installation to the new one.
B.) Re-install the SSL certificate to the new cacerts folder.