On May 3, 2012, at 2:49 PM, Emmanuel Lécharny wrote: > Le 5/3/12 9:37 PM, dipesh a écrit : >> Hello everybody, >> >> I have created a Mina proxy and added SSL support to it, following the two >> examples given on the site. i am running into two issues now: > Which MINA version ? 2.0.0-RC1 >> >> 1. The mutual auth handshake fails, since I don't get a valid response from >> the server that requires it. > Here, we need the error you get. It's not possible otherwise to know what's > going on. I don't get any error, while server star up. But when i send a request i get 'Server encountered error while processing request. Read timed out'. Could be the way i am implementing it. Is there any document that I can refer to?
>> 2. Even if I send a simple http request from the client, it still gets >> passed on to the handler (since I am implementing SSL, I want only the https >> request to be accepted and the simple http requests to be rejected). > There is no magic done, here : if you don't filter on the server the schema > (ie, "http"), then MINA won't do it for you. Keep in mind that MINA is a NIO > framework, which works on top of TCP and UDP, but has no knwoeldge about > anything above. Thanks. > > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com >
