Hi,
I am contacting a service that requires exchange of certificates. I am getting handshale_failure error when using the XwsSecurityInterceptor.
I see the following entries when SSL Debug is enabled. This happens after 'Change Cipher Spec..'
Code:
[Raw read]: length = 5
0000: 15 03 01 00 02                                     .....
[Raw read]: length = 2
0000: 02 28                                              .(
main, READ: TLSv1 Alert, length = 2
main, RECV TLSv1 ALERT:  fatal, handshake_failure
Then I switched to Apache Http Client. I was getting the same error, when I initialized the SSLSocketFactory with SSLContext. When I initialized the SSLSocketFactory with trust store and key store (based on the comment in https://issues.apache.org/jira/browse/HTTPCLIENT-1091 as shown below, it worked

Code:
			SSLSocketFactory socketFactory = new SSLSocketFactory(trustStore,
					"changeit", trustStore);
Hence I am assuming this as the possible cause. Can I pass in/change initialization of SocketFactory with 'XwsSecurityInterceptor'?

Hope my question is clear.
Thanks