cancel
Showing results for 
Search instead for 
Did you mean: 

HandShake Failure

Former Member
0 Kudos

Hi Friends.

I get a handshake failure on a client application trying to authenticate do a webservice:

I have a SAP XI 3.0 nw 2004 (6.40) with a server certificate and a client application that uses basic authentication.

I have already enabled strong encryption, applied Java Cryptographic toolkit (thru SDM), and i have installed sapctypto.dll lib.

Is there anything else I can do?

Here´s the stack trace of the client application:

Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)

at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1584)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:866)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:622)

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 org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:827)

at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1525)

at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1936)

at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)

at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)

at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)

Thanks in advance, kind regards,

Daniel

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Yep i shall get back to you in an hour or so , i need to dig it back in to my records.

thanks

Vara

[Please reward for good posts]

Former Member
0 Kudos

Hi Vara, thanks for your promp reply.

Do you have any more details about what you experienced or which sap note should I follow?

Regards,

Daniel

Former Member
0 Kudos

Hey Daniel,

I dont know how far this helps , but i ran in to similar problems when after careful debugging i found out a wrong package for Security , there is an sap note on it too. hope this helps. Let us know.

Vara