DSCC Can Fail With "WARNING: Failed to open connection: javax.security.sasl.SaslException: PLAIN: Authentication credentials verification failed!" (Doc ID 1638616.1)

Last updated on OCTOBER 11, 2016

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Unable to access the security tab for some Directory Server instances on ODSEE 11.1.1.7.0, this worked without issue on previous versions.

 

The following errors is seen,


WARNING: Failed to open connection: javax.security.sasl.SaslException: PLAIN: Authentication credentials verification failed! [Caused by javax.security.sasl.SaslException: Authentication failed]
javax.security.sasl.SaslException: PLAIN: Authentication credentials verification failed! [Caused by javax.security.sasl.SaslException: Authentication failed]

 

Debug logging shows the following,

- For reference the error(s)
Nov 30, 2013 9:22:51 AM GenericConnectorServer ClientCreation.run
WARNING: Failed to open connection: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
  at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
  at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
  at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1977)
  at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1093)
  at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1328)
  at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
  at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
  at com.sun.jmx.remote.opt.security.TLSServerHandler.activate(TLSServerHandler.java:340)
  at com.sun.jmx.remote.opt.security.AdminServer.connectionOpen(AdminServer.java:180)
  at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl.connect(ServerSynchroMessageConnectionImpl.java:58)
  at javax.management.remote.generic.GenericConnectorServer$ClientCreation.run(GenericConnectorServer.java:405)
  at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:208)
  at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:59)

Nov 30, 2013 9:22:58 AM GenericConnectorServer ClientCreation.run
WARNING: Failed to open connection: javax.security.sasl.SaslException: PLAIN: Authentication credentials verification failed! [Caused by javax.security.sasl.SaslException: Authentication failed]
javax.security.sasl.SaslException: PLAIN: Authentication credentials verification failed! [Caused by javax.security.sasl.SaslException: Authentication failed]
  at com.sun.jdmk.security.sasl.plain.PlainServer.verifyAuthenticationCredentials(PlainServer.java:188)
  at com.sun.jdmk.security.sasl.plain.PlainServer.evaluateResponse(PlainServer.java:118)
  at com.sun.jmx.remote.opt.security.SASLServerHandler.consumeMessage(SASLServerHandler.java:124)
  at com.sun.jmx.remote.opt.security.AdminServer.connectionOpen(AdminServer.java:176)
  at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl.connect(ServerSynchroMessageConnectionImpl.java:58)
  at javax.management.remote.generic.GenericConnectorServer$ClientCreation.run(GenericConnectorServer.java:405)
  at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:208)
  at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:59)
Caused by: javax.security.sasl.SaslException: Authentication failed
  at oracle.ldap.dsee.ground.jdmk.PasswordCheckCallback.handle(CustomConnectorFactory.java:281)
  at com.sun.jdmk.security.sasl.plain.PlainServer.verifyAuthenticationCredentials(PlainServer.java:186)
  ... 7 more

Changes

Upgraded to ODSEE 11.1.1.7.0

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms