-1

After upgrading the java version from 1.8_131 to 1.8_361, I re-imported the previously used certs(with java 1.8_131) but the authentication is failing with the error "Your login attempt was not successful, try again. Caused : simple bind failed: dcldap:636"

I came across the below links and link(2) is for java documentation for the version 1.8_181 where there were changes to LDAP Support. The link(4) talks about how to disable the endpoint identification introduced in java 1.8_181.

My Question is,

  • How to resolve the issue without disabling the endpoint identification? do i need a new set of certificates or some setting changes?
  • Is it recommended and safe to disable the endpoint identification discussed in link(4) ?

Any help is appreciated.

(1)Java upgrade 8 to 11 causing issue with LDAPS connection (Connection or outbound has closed) (2) https://www.oracle.com/java/technologies/javase/8u181-relnotes.html (3)simple bind failed: host:636 [Root exception is java.net.SocketException: Connection reset] (4) How to disable endpoint identification for java 1.8.181 version

codemode
  • 1
  • 1

1 Answers1

0

i disabled the endpoint identificaiton by passing the below VM argument in eclipse and that fixed the dcldap error.

-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true

codemode
  • 1
  • 1