SSL Connection is Failing Intermittently Between Weblogic and AD The Exception "handling exception: javax.net.ssl.SSLException: Server key"

(Doc ID 2403760.1)

Last updated on MAY 29, 2018

Applies to:

Oracle WebLogic Server - Version 10.3.3 and later
Information in this document applies to any platform.

Symptoms

On Weblogic 10.3.3.0 or higher with JDK 1.6.0_45, SSL connection fail intermittently between Weblogic and AD, when SSL debug is enable can see following message and exception:

[ACTIVE] ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)', handling exception: javax.net.ssl.SSLException: Server key
[ACTIVE] ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)', SEND TLSv1 ALERT: fatal, description = unexpected_message
[ACTIVE] ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)', WRITE: TLSv1 Alert, length = 2
[ACTIVE] ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)', called closeSocket()
javax.naming.CommunicationException: simple bind failed: server04.example.com:636 [Root exception is javax.net.ssl.SSLException: Server key]
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:197)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2694)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
at com.example.aim.coreoim.adapter.prepopulate.ManagerDN.getManagerDNfromMDID(ManagerDN.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

Changes

 No change in the environment.

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