I connect to the web service via HTTPS. I did everything that I think is required for it to work, but in the end I get a handshake rejection.
I found out that as a new user I can’t post more than two links due to “spam protection” - thanx a lot of stackoverflow ... anyway here is a link to a pastebin message with all the links specified..so when I write " link # 1 "here, this is a link to these links: http://pastebin.com/y4zGNRC7
- I checked the same behavior with HttpClient (GET on the service url) and actually called the web service through the CXF proxy
- I install the keystore and trust store - I tried both the "code" (link # 1) and set the system properties - that is, System.setProperty ("javax.net.ssl.keyStore", "mykeystore" .jks ");
- SSL debugging enabled (javax.net.debug = all)
- SSL debugging erodes the contents of both the keystore and trust (that is, it seems that java "knows about them") - link # 2
- There seems to be some client-server communication going on there, but then it crashes for some reason link # 3
- I successfully connected to the server using client and CA certificates both in the browser (Chrome) and using openssl s_client
- wireshark shows less client-server conversations from java (link # 4), then, for example, from Chrome (link # 5)
Another strange thing: it seems to me that I get the same behavior when I install the keystore and when not (the only difference is that when the contents of the keystore are printed on the console, but that it is).
I tried to solve the problem, and I saw a lot of similar messages here in stackoverflow, but nothing helped. I tried changing the protocol version ("TLSv1", "SSLv3", even weird Hello v2). Any help would be appreciated - maybe there are some fundamental things that I could lose sight of ... I am desperate to run here ... Thanx
PS I am running java 1.6 update 30 on Fedora Core 15 (64 bit)
source share