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 ?
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.
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.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com