OVD 11g Fails to Connect to ODSEE Using SSL "No Authentication" Mode (Doc ID 1389955.1)

Last updated on JULY 01, 2016

Applies to:

Oracle Virtual Directory - Version 11.1.1.1.0 to 11.1.1.6.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

On : 11G version, Virtual Directory Manager 

When attempting to use an ODSEE adapter using SSL with Non authentication, the following error occurs:

ldapsearch -D cn=orcladmin -q -U 1 -h <OVD_host> -p <OVD_port> -b "dc=oracle,dc=com" objectclass=*
Please enter bind password:
ldap_search: Protocol error
ldap_search: additional info: LDAP Error 2 : simple bind failed: ODSEE_host:ODSEE_port



Also, it is possible to have this kind of errors in the diagnostic.log:

[2011-12-19T16:43:35.124-05:00] [octetstring] [NOTIFICATION] [] [com.octetstring.vde.backend.jndi.BSA ODSEE LDAP.JNDIConnectionPool] [tid: 18] [ecid: 0000JHOHlLL7y0Gayx2jMG1Evu_q000008,0] Priming the connection pool.ldap://[odsee.oracle.com]:1636
[2011-12-19T16:43:35.132-05:00] [octetstring] [WARNING] [OVD-60024] [com.octetstring.vde.backend.jndi.BSA ODSEE LDAP.JNDIConnectionPool] [tid: 18] [ecid: 0000JHOHlLL7y0Gayx2jMG1Evu_q000008,0] Connection error: simple bind failed: odsee.oracle.com:1636.
[2011-12-19T16:43:35.133-05:00] [octetstring] [ERROR] [OVD-60143] [com.octetstring.vde.backend.jndi.BSA ODSEE LDAP.BackendJNDI] [tid: 18] [ecid: 0000JHOHlLL7y0Gayx2jMG1Evu_q000008,0] [#BSA ODSEE LDAP] Unable to create connection to ldap://[odsee.oracle.com]:1636 as null.[[
javax.naming.CommunicationException: simple bind failed:odsee.oracle.com:1636 [Root exception is javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure]
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.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.createCtx(JNDIConnectionPool.java:428)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.create(JNDIConnectionPool.java:459)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.<init>(JNDIConnectionPool.java:145)
at com.octetstring.vde.backend.jndi.RemoteServer.getJNDIConnectionPool(RemoteServer.java:157)
at com.octetstring.vde.backend.jndi.BackendJNDI.getLDAPContext(BackendJNDI.java:1001)
at com.octetstring.vde.backend.jndi.BackendJNDI.getConnection(BackendJNDI.java:944)
at com.octetstring.vde.backend.jndi.ConnectionHandle.getHolder(ConnectionHandle.java:425)
at com.octetstring.vde.backend.jndi.ConnectionHandle.search(ConnectionHandle.java:260)
at com.octetstring.vde.backend.jndi.JNDIEntrySet.initialize(JNDIEntrySet.java:226)
at com.octetstring.vde.backend.jndi.BackendJNDI.get(BackendJNDI.java:748)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:297)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.monitorSearch(MonitorPerformance.java:503)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.get(MonitorPerformance.java:412)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
at com.octetstring.vde.chain.PluginChain.runGet(PluginChain.java:234)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:489)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:427)
at com.octetstring.vde.backend.AdapterServiceInterface.getByAdapter(AdapterServiceInterface.java:680)
at com.octetstring.vde.backend.AdapterServiceInterface.get(AdapterServiceInterface.java:541)
at com.octetstring.vde.backend.BackendHandler.get(BackendHandler.java:597)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:289)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.monitorSearch(MonitorPerformance.java:503)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.get(MonitorPerformance.java:418)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
at com.octetstring.vde.chain.plugins.AclCheckerPlugin.get(AclCheckerPlugin.java:398)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
at com.octetstring.vde.chain.PluginChain.runGet(PluginChain.java:234)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:489)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:427)
at com.octetstring.vde.chain.GlobalServicesInterface.runGet(GlobalServicesInterface.java:207)
at com.octetstring.vde.dsmlv2.ImportExportVDE.doGet(ImportExportVDE.java:442)
at com.octetstring.vde.dsmlv2.ImportExportVDE.process(ImportExportVDE.java:178)
at com.octetstring.vde.dsmlv2.DsmlService.doPost(DsmlService.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
at com.octetstring.vde.admin.AuthFilter.doFilter(AuthFilter.java:297)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
at com.octetstring.webgateway.filters.DOSFilter.doFilter(DOSFilter.java:67)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:526)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1720)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:632)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:396)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:334)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:192)
... 63 more

]]
[2011-12-19T16:43:35.137-05:00] [octetstring] [ERROR] [OVD-60335] [com.octetstring.vde.dsmlv2.ImportExportVDE] [tid: 18] [ecid: 0000JHOHlLL7y0Gayx2jMG1Evu_q000008,0] Failure in getting LDAP 1.[[
com.octetstring.vde.util.DirectoryException: LDAP Error 2 : simple bind failed: odsee.oracle.com:1636
at com.octetstring.vde.backend.jndi.BackendJNDI.getLDAPContext(BackendJNDI.java:1066)
at com.octetstring.vde.backend.jndi.BackendJNDI.getConnection(BackendJNDI.java:944)
at com.octetstring.vde.backend.jndi.ConnectionHandle.getHolder(ConnectionHandle.java:425)
at com.octetstring.vde.backend.jndi.ConnectionHandle.search(ConnectionHandle.java:260)
at com.octetstring.vde.backend.jndi.JNDIEntrySet.initialize(JNDIEntrySet.java:226)
at com.octetstring.vde.backend.jndi.BackendJNDI.get(BackendJNDI.java:748)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:297)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.monitorSearch(MonitorPerformance.java:503)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.get(MonitorPerformance.java:412)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
at com.octetstring.vde.chain.PluginChain.runGet(PluginChain.java:234)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:489)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:427)
at com.octetstring.vde.backend.AdapterServiceInterface.getByAdapter(AdapterServiceInterface.java:680)
at com.octetstring.vde.backend.AdapterServiceInterface.get(AdapterServiceInterface.java:541)
at com.octetstring.vde.backend.BackendHandler.get(BackendHandler.java:597)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:289)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.monitorSearch(MonitorPerformance.java:503)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.get(MonitorPerformance.java:418)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
at com.octetstring.vde.chain.plugins.AclCheckerPlugin.get(AclCheckerPlugin.java:398)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
at com.octetstring.vde.chain.PluginChain.runGet(PluginChain.java:234)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:489)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:427)
at com.octetstring.vde.chain.GlobalServicesInterface.runGet(GlobalServicesInterface.java:207)
at com.octetstring.vde.dsmlv2.ImportExportVDE.doGet(ImportExportVDE.java:442)
at com.octetstring.vde.dsmlv2.ImportExportVDE.process(ImportExportVDE.java:178)
at com.octetstring.vde.dsmlv2.DsmlService.doPost(DsmlService.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
at com.octetstring.vde.admin.AuthFilter.doFilter(AuthFilter.java:297)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
at com.octetstring.webgateway.filters.DOSFilter.doFilter(DOSFilter.java:67)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:526)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
Caused by: javax.naming.CommunicationException: simple bind failed: fcnstdbcom01.sit.itmodev.gov:1636 [Root exception is javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure]
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.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.createCtx(JNDIConnectionPool.java:428)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.create(JNDIConnectionPool.java:459)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.<init>(JNDIConnectionPool.java:145)
at com.octetstring.vde.backend.jndi.RemoteServer.getJNDIConnectionPool(RemoteServer.java:157)
at com.octetstring.vde.backend.jndi.BackendJNDI.getLDAPContext(BackendJNDI.java:1001)
... 48 more
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1720)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:632)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:396)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:334)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:192)
... 63 more

]]

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