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.Communication
Exception:
simple bind failed: 208.53.52.78:6362 [Root exception is javax.net.ssl.SSLHandshake
Exception:
Received fatal alert: handshake_failure]
16:55:53,588 ERROR [STDERR] at com.sun.jndi.ldap.LdapClie
nt.authent
icate(Ldap
Client.jav
a:197)
16:55:53,588 ERROR [STDERR] at com.sun.jndi.ldap.LdapCtx.
connect(Ld
apCtx.java
:2637)
16:55:53,588 ERROR [STDERR] at com.sun.jndi.ldap.LdapCtx.
<init>(Lda
pCtx.java:
283)
16:55:53,588 ERROR [STDERR] at com.sun.jndi.ldap.LdapCtxF
actory.get
UsingURL(L
dapCtxFact
ory.java:1
75)
16:55:53,589 ERROR [STDERR] at com.sun.jndi.ldap.LdapCtxF
actory.get
UsingURLs(
LdapCtxFac
tory.java:
193)
16:55:53,589 ERROR [STDERR] at com.sun.jndi.ldap.LdapCtxF
actory.get
LdapCtxIns
tance(Ldap
CtxFactory
.java:136)
16:55:53,589 ERROR [STDERR] at com.sun.jndi.ldap.LdapCtxF
actory.get
InitialCon
text(LdapC
txFactory.
java:66)
16:55:53,589 ERROR [STDERR] at javax.naming.spi.NamingMan
ager.getIn
itialConte
xt(NamingM
anager.jav
a:667)
16:55:53,589 ERROR [STDERR] at javax.naming.InitialContex
t.getDefau
ltInitCtx(
InitialCon
text.java:
247)
16:55:53,589 ERROR [STDERR] at javax.naming.InitialContex
t.init(Ini
tialContex
t.java:223
)
16:55:53,589 ERROR [STDERR] at javax.naming.InitialContex
t.<init>(I
nitialCont
ext.java:1
97)
16:55:53,589 ERROR [STDERR] at javax.naming.directory.Ini
tialDirCon
text.<init
>(InitialD
irContext.
java:82)
16:55:53,589 ERROR [STDERR] at com.dbridge.dfp.ldap.AuthL
DAP.getPer
sonName(Au
thLDAP.jav
a:105)
16:55:53,589 ERROR [STDERR] at com.dbridge.dfp.sams.adapt
er.LoginAd
apter.auth
enticateUs
er(LoginAd
apter.java
:242)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.sams.adapt
er.LoginAd
apter.proc
ess(LoginA
dapter.jav
a:107)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.fwk
.adapters.
AdapterCon
troller.ca
llAdapter(
Unknown Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.imp
l.dfpservi
ce.DFPTVES
rv$DFPTran
sformSrv.e
xecuteServ
ice(Unknow
n Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.imp
l.dfpservi
ce.DFPTVES
rv.execute
Service(Un
known Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.fwk
.services.
DFPService
Proxy.exec
uteRequest
(Unknown Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.fwk
.services.
ServiceDis
patcher.ha
ndleReques
t(Unknown Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.fwk
.services.
serviceorc
h.SimpleCh
oreography
.runComman
d(Unknown Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.fwk
.services.
serviceorc
h.SimpleCh
oreography
.runComman
d(Unknown Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.fwk
.services.
serviceorc
h.Abstract
Choreograp
hy.runGrou
pEvent(Unk
nown Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.fwk
.services.
serviceorc
h.ServiceO
rchestrato
r.runComma
nd(Unknown
Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.fwk
.services.
ServiceCon
troller.co
ntrolFlow(
Unknown Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.engine.imp
l.entrypoi
nt.VMEntry
Point.proc
eed(Unknow
n Source)
16:55:53,590 ERROR [STDERR] at com.dbridge.dfp.generic.en
trypoints.
GenericVME
ntry.proce
ed(Generic
VMEntry.ja
va:494)
16:55:53,590 ERROR [STDERR] at org.apache.jsp.html.contro
ller_jsp._
jspService
(controlle
r_jsp.java
:173)
16:55:53,590 ERROR [STDERR] at org.apache.jasper.runtime.
HttpJspBas
e.service(
HttpJspBas
e.java:97)
16:55:53,590 ERROR [STDERR] at javax.servlet.http.HttpSer
vlet.servi
ce(HttpSer
vlet.java:
810)
16:55:53,590 ERROR [STDERR] at org.apache.jasper.servlet.
JspServlet
Wrapper.se
rvice(JspS
ervletWrap
per.java:3
32)
16:55:53,591 ERROR [STDERR] at org.apache.jasper.servlet.
JspServlet
.serviceJs
pFile(JspS
ervlet.jav
a:314)
16:55:53,591 ERROR [STDERR] at org.apache.jasper.servlet.
JspServlet
.service(J
spServlet.
java:264)
16:55:53,591 ERROR [STDERR] at javax.servlet.http.HttpSer
vlet.servi
ce(HttpSer
vlet.java:
810)
16:55:53,591 ERROR [STDERR] at org.apache.catalina.core.A
pplication
FilterChai
n.internal
DoFilter(A
pplication
FilterChai
n.java:252
)
16:55:53,591 ERROR [STDERR] at org.apache.catalina.core.A
pplication
FilterChai
n.doFilter
(Applicati
onFilterCh
ain.java:1
73)
16:55:53,591 ERROR [STDERR] at org.jboss.web.tomcat.filte
rs.ReplyHe
aderFilter
.doFilter(
ReplyHeade
rFilter.ja
va:96)
16:55:53,591 ERROR [STDERR] at org.apache.catalina.core.A
pplication
FilterChai
n.internal
DoFilter(A
pplication
FilterChai
n.java:202
)
16:55:53,591 ERROR [STDERR] at org.apache.catalina.core.A
pplication
FilterChai
n.doFilter
(Applicati
onFilterCh
ain.java:1
73)
16:55:53,591 ERROR [STDERR] at org.apache.catalina.core.S
tandardWra
pperValve.
invoke(Sta
ndardWrapp
erValve.ja
va:213)
16:55:53,591 ERROR [STDERR] at org.apache.catalina.core.S
tandardCon
textValve.
invoke(Sta
ndardConte
xtValve.ja
va:178)
16:55:53,591 ERROR [STDERR] at org.jboss.web.tomcat.secur
ity.Securi
tyAssociat
ionValve.i
nvoke(Secu
rityAssoci
ationValve
.java:175)
16:55:53,591 ERROR [STDERR] at org.jboss.web.tomcat.secur
ity.JaccCo
ntextValve
.invoke(Ja
ccContextV
alve.java:
74)
16:55:53,591 ERROR [STDERR] at org.apache.catalina.core.S
tandardHos
tValve.inv
oke(Standa
rdHostValv
e.java:126
)
16:55:53,591 ERROR [STDERR] at org.apache.catalina.valves
.ErrorRepo
rtValve.in
voke(Error
ReportValv
e.java:105
)
16:55:53,592 ERROR [STDERR] at org.apache.catalina.core.S
tandardEng
ineValve.i
nvoke(Stan
dardEngine
Valve.java
:107)
16:55:53,592 ERROR [STDERR] at org.apache.catalina.connec
tor.Coyote
Adapter.se
rvice(Coyo
teAdapter.
java:148)
16:55:53,592 ERROR [STDERR] at org.apache.coyote.http11.H
ttp11Proce
ssor.proce
ss(Http11P
rocessor.j
ava:869)
16:55:53,592 ERROR [STDERR] at org.apache.coyote.http11.H
ttp11BaseP
rotocol$Ht
tp11Connec
tionHandle
r.processC
onnection(
Http11Base
Protocol.j
ava:664)
16:55:53,592 ERROR [STDERR] at org.apache.tomcat.util.net
.PoolTcpEn
dpoint.pro
cessSocket
(PoolTcpEn
dpoint.jav
a:527)
16:55:53,592 ERROR [STDERR] at org.apache.tomcat.util.net
.MasterSla
veWorkerTh
read.run(M
asterSlave
WorkerThre
ad.java:11
2)
16:55:53,592 ERROR [STDERR] at java.lang.Thread.run(Threa
d.java:595
)
16:55:53,593 ERROR [STDERR] Caused by: javax.net.ssl.SSLHandshake
Exception:
Received fatal alert: handshake_failure
16:55:53,593 ERROR [STDERR] at com.sun.net.ssl.internal.s
sl.Alerts.
getSSLExce
ption(Aler
ts.java:15
0)
16:55:53,593 ERROR [STDERR] at com.sun.net.ssl.internal.s
sl.Alerts.
getSSLExce
ption(Aler
ts.java:11
7)
16:55:53,593 ERROR [STDERR] at com.sun.net.ssl.internal.s
sl.SSLSock
etImpl.rec
vAlert(SSL
SocketImpl
.java:1650
)
16:55:53,593 ERROR [STDERR] at com.sun.net.ssl.internal.s
sl.SSLSock
etImpl.rea
dRecord(SS
LSocketImp
l.java:925
)
16:55:53,593 ERROR [STDERR] at com.sun.net.ssl.internal.s
sl.SSLSock
etImpl.per
formInitia
lHandshake
(SSLSocket
Impl.java:
1089)
16:55:53,593 ERROR [STDERR] at com.sun.net.ssl.internal.s
sl.SSLSock
etImpl.wri
teRecord(S
SLSocketIm
pl.java:61
8)
16:55:53,594 ERROR [STDERR] at com.sun.net.ssl.internal.s
sl.AppOutp
utStream.w
rite(AppOu
tputStream
.java:59)
16:55:53,594 ERROR [STDERR] at java.io.BufferedOutputStre
am.flushBu
ffer(Buffe
redOutputS
tream.java
:65)
16:55:53,594 ERROR [STDERR] at java.io.BufferedOutputStre
am.flush(B
ufferedOut
putStream.
java:123)
16:55:53,594 ERROR [STDERR] at com.sun.jndi.ldap.Connecti
on.writeRe
quest(Conn
ection.jav
a:390)
16:55:53,594 ERROR [STDERR] at com.sun.jndi.ldap.LdapClie
nt.ldapBin
d(LdapClie
nt.java:33
4)
16:55:53,594 ERROR [STDERR] at com.sun.jndi.ldap.LdapClie
nt.authent
icate(Ldap
Client.jav
a:192)
16:55:53,594 ERROR [STDERR] ... 51 more
16:55:53,595 INFO [STDOUT] <<-------------LDAP Authentication Failed --------->>>
Thanks
Start Free Trial