成功交换客户端和服务器证书后,SSL握手失败

时间:2016-08-28 22:48:51

标签: ssl axis2 sslhandshakeexception

我的Java(1.7)客户端似乎在握手过程的最后因以下异常而失败。

我猜客户端设置存在一些问题。我该如何调试呢?


...

main, WRITE: TLSv1 Change Cipher Spec, length = 1
*** Finished
verify_data:  { 29, 85, 244, 219, 41, 146, 203, 174, 235, 86, 47, 92 }
***
main, WRITE: TLSv1 Handshake, length = 40
main, READ: TLSv1 Alert, length = 2
main, RECV TLSv1 ALERT:  fatal, handshake_failure
%% Invalidated:  [Session-1, SSL_RSA_WITH_3DES_EDE_CBC_SHA]
main, called closeSocket()
main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Exception in thread "main" AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
 faultActor: 
 faultNode: 
 faultDetail: 

0 个答案:

没有答案