ssl - SSLITE ERROR - using Websphere and calling a webservice with apache client 3.x -


i not understand origin of issue: com.ibm.sslite.d: reason=2; alert=40; exception=null

it happens when call:

int statuscode = httpclient.executemethod(method); 

it might related ssl protocol , maybe websphere quite old , incompatible.

12:56:46 [sid=] [uid=] [oid=] - error com.darty.ecom.frontoffice.newespaceclient.core.service.cev.cevproxyconnection - cev > stack trace >  com.ibm.sslite.d: reason=2; alert=40; exception=null     @ com.ibm.sslite.m.a(m.java:50)     @ com.ibm.sslite.t.b(t.java:113)     @ com.ibm.sslite.t.a(t.java:43)     @ com.ibm.sslite.a.read(a.java:7)     @ com.ibm.jsse.a.read(unknown source)     @ java.io.bufferedinputstream.fill(bufferedinputstream.java:200)     @ java.io.bufferedinputstream.read(bufferedinputstream.java:218)     @ org.apache.commons.httpclient.httpparser.readrawline(httpparser.java:77)     @ org.apache.commons.httpclient.httpparser.readline(httpparser.java:105)     @ org.apache.commons.httpclient.httpconnection.readline(httpconnection.java:1115)     @ org.apache.commons.httpclient.multithreadedhttpconnectionmanager$httpconnectionadapter.readline(multithreadedhttpconnectionmanager.java:1373)     @ org.apache.commons.httpclient.httpmethodbase.readstatusline(httpmethodbase.java:1832)     @ org.apache.commons.httpclient.httpmethodbase.readresponse(httpmethodbase.java:1590)     @ org.apache.commons.httpclient.httpmethodbase.execute(httpmethodbase.java:995)     @ org.apache.commons.httpclient.httpmethoddirector.executewithretry(httpmethoddirector.java:397)     @ org.apache.commons.httpclient.httpmethoddirector.executemethod(httpmethoddirector.java:170)     @ org.apache.commons.httpclient.httpclient.executemethod(httpclient.java:396)     @ org.apache.commons.httpclient.httpclient.executemethod(httpclient.java:324)     @ com.darty.ecom.frontoffice.newespaceclient.core.service.cev.cevproxyconnection.executemethod(cevproxyconnection.java:137) 

the same error in integration environmenent little different , says:

javax.net.ssl.sslhandshakeexception: received fatal alert: handshake_failure

that means server-side sent tls alert telling handshake failed. (alert#40) you'll need debug why on server -- maybe requries tls client authentication, maybe client uses ancient protocols/ciphers or visa versa.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -