Le 5/5/12 2:09 AM, dipesh a écrit :
I think I did not explain my case clearly and that we may have a communication gap here. I have a client that does not support SSL. I have a Server that needs Mutual Auth handshake. So I have created a mina proxy, and I have attached the SSL filter to the connector (in order to throw the SSL layer on my request). Mina proxy accepts the request coming from my client, but when it sends it over to my server, the request times out.
Forget about the real client for a moment. The proxy you have developped is the client, and it is responsible of the SSL establishment with the server. At this point, what I need to know is if the server is something you wrote or is it a server you are using. Let's say the proxy is the only component you have written. In this case, it will initiate the SSL negociation, which is completly handled by the server (ie, the SSL protocol is a request/response protocol, with the server waiting for the client to provide everything needed). If the server times-out, that means it waits for something the proxy does not sent. What I suggest at this point is that you capture the exchanged data with Wireshark, to see what is sent back and forth, and see what's missing. Sadly, there are many parts that can make the server unhappy (including some issue in MINA), and it's hard to tell with some more informations. If there is nothing private, I would suggest you create a JIRA and attach your code and the captured wireshark traces to it. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
