According to the Oracle technote:
https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html
In order to improve LDAPS support the endpoint identification algorithms have been enabled by default.
The LDAP normal connection works fine but the LDAP with SSL does not connect giving this error message "Error in binding to your LDAP server".
In order to allow the endpoint identification algorithm we have to add the following string in the standalone.conf file under the JAVA_OPTS=
-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true
The standalone.conf file can be found in the Stat Central Agent machine under this location:
$STAT_HOME/app/bin
Save the changes and then restart the Stat Central Agent for the new settings to take effect.