Advertisement

03.19.2008 at 04:03PM PDT, ID: 23255442
[x]
Attachment Details

SSL for the edirectory

Asked by jdsiam in Secure Socket Layer (SSL) & HTTPS, Java Programming Language, Lightweight Directory Access Protocol (LDAP)

Tags: JAVA, IEE, Received fatal alert: handshake_failure

I need to use the SSL for the edirectory. I am using eDirectory 8.8.  I am using IE 7 or FireFox  2.X to view the jsp. When the


1. Client certificate = requested
2. Require TLS for all operations is checked
3. Enable and require mutual authentication is checked

The authentication works fine. However, if I am changing the

1. Client certificate = required

the following error occurs. Please help

 javax.naming.CommunicationException: simple bind failed: 208.53.52.78:6362 [Root exception is javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure]
16:55:53,588 ERROR [STDERR]       at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:197)
16:55:53,588 ERROR [STDERR]       at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2637)
16:55:53,588 ERROR [STDERR]       at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
16:55:53,588 ERROR [STDERR]       at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
16:55:53,589 ERROR [STDERR]       at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
16:55:53,589 ERROR [STDERR]       at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
16:55:53,589 ERROR [STDERR]       at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
16:55:53,589 ERROR [STDERR]       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
16:55:53,589 ERROR [STDERR]       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
16:55:53,589 ERROR [STDERR]       at javax.naming.InitialContext.init(InitialContext.java:223)
16:55:53,589 ERROR [STDERR]       at javax.naming.InitialContext.<init>(InitialContext.java:197)
16:55:53,589 ERROR [STDERR]       at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
16:55:53,589 ERROR [STDERR]       at com.dbridge.dfp.ldap.AuthLDAP.getPersonName(AuthLDAP.java:105)
16:55:53,589 ERROR [STDERR]       at com.dbridge.dfp.sams.adapter.LoginAdapter.authenticateUser(LoginAdapter.java:242)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.sams.adapter.LoginAdapter.process(LoginAdapter.java:107)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.fwk.adapters.AdapterController.callAdapter(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.impl.dfpservice.DFPTVESrv$DFPTransformSrv.executeService(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.impl.dfpservice.DFPTVESrv.executeService(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.fwk.services.DFPServiceProxy.executeRequest(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.fwk.services.ServiceDispatcher.handleRequest(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.fwk.services.serviceorch.SimpleChoreography.runCommand(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.fwk.services.serviceorch.SimpleChoreography.runCommand(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.fwk.services.serviceorch.AbstractChoreography.runGroupEvent(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.fwk.services.serviceorch.ServiceOrchestrator.runCommand(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.fwk.services.ServiceController.controlFlow(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.engine.impl.entrypoint.VMEntryPoint.proceed(Unknown Source)
16:55:53,590 ERROR [STDERR]       at com.dbridge.dfp.generic.entrypoints.GenericVMEntry.proceed(GenericVMEntry.java:494)
16:55:53,590 ERROR [STDERR]       at org.apache.jsp.html.controller_jsp._jspService(controller_jsp.java:173)
16:55:53,590 ERROR [STDERR]       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
16:55:53,590 ERROR [STDERR]       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
16:55:53,590 ERROR [STDERR]       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
16:55:53,591 ERROR [STDERR]       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
16:55:53,591 ERROR [STDERR]       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
16:55:53,591 ERROR [STDERR]       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
16:55:53,591 ERROR [STDERR]       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
16:55:53,591 ERROR [STDERR]       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
16:55:53,591 ERROR [STDERR]       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
16:55:53,591 ERROR [STDERR]       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
16:55:53,591 ERROR [STDERR]       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
16:55:53,591 ERROR [STDERR]       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
16:55:53,591 ERROR [STDERR]       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
16:55:53,591 ERROR [STDERR]       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
16:55:53,591 ERROR [STDERR]       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
16:55:53,591 ERROR [STDERR]       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
16:55:53,591 ERROR [STDERR]       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
16:55:53,592 ERROR [STDERR]       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
16:55:53,592 ERROR [STDERR]       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
16:55:53,592 ERROR [STDERR]       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
16:55:53,592 ERROR [STDERR]       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
16:55:53,592 ERROR [STDERR]       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
16:55:53,592 ERROR [STDERR]       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
16:55:53,592 ERROR [STDERR]       at java.lang.Thread.run(Thread.java:595)
16:55:53,593 ERROR [STDERR] Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
16:55:53,593 ERROR [STDERR]       at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
16:55:53,593 ERROR [STDERR]       at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)
16:55:53,593 ERROR [STDERR]       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1650)
16:55:53,593 ERROR [STDERR]       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:925)
16:55:53,593 ERROR [STDERR]       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)
16:55:53,593 ERROR [STDERR]       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:618)
16:55:53,594 ERROR [STDERR]       at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
16:55:53,594 ERROR [STDERR]       at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
16:55:53,594 ERROR [STDERR]       at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
16:55:53,594 ERROR [STDERR]       at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:390)
16:55:53,594 ERROR [STDERR]       at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:334)
16:55:53,594 ERROR [STDERR]       at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:192)
16:55:53,594 ERROR [STDERR]       ... 51 more
16:55:53,595 INFO  [STDOUT] <<-------------LDAP Authentication Failed --------->>>

ThanksStart Free Trial
[+][-]03.19.2008 at 10:07PM PDT, ID: 21168481

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.20.2008 at 03:44PM PDT, ID: 21176650

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.20.2008 at 06:04PM PDT, ID: 21177321

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 03:28PM PDT, ID: 21226373

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 03:47PM PDT, ID: 21226497

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.28.2008 at 03:04PM PDT, ID: 21234441

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.28.2008 at 03:13PM PDT, ID: 21234472

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 11:07AM PDT, ID: 21247667

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 11:16AM PDT, ID: 21247745

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 03:35PM PDT, ID: 21258737

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 03:52PM PDT, ID: 21258819

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 03:30PM PDT, ID: 21277583

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 04:36PM PDT, ID: 21277918

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Secure Socket Layer (SSL) & HTTPS, Java Programming Language, Lightweight Directory Access Protocol (LDAP)
Tags: JAVA, IEE, Received fatal alert: handshake_failure
Sign Up Now!
Solution Provided By: Mevi
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628