Help implementing SSL

2010-08-30 Thread André Rodrigues
Hi everyone! I'm trying to fix up a simple MINA example using SSL and I'm having some trouble. Here's what I did: 1) I'm running the EchoServer example with SSL turned on. I generated the bogus.cert keystore using keytool as described in the documentation. 2) I created a simple MINA client that c

Re: Help implementing SSL

2010-08-26 Thread Ashish
I am really not sure what's wrong with the implementation. It didn't work for me either :( We might be missing something here.. I tried using a different client and it worked. Seems like the client didn't even invoked SSL handshake. Will try to debug this further, whenever I can. Meanwhile, you c

Re: Help implementing SSL

2010-08-25 Thread Ashish
can you post your client code? 2010/8/25 André Rodrigues : > Alright, thanks ! > > > > > > 2010/8/24 Ashish > >> Let me try the sample at my end ... >> >> Will revert back as soon as I can. >> >> thanks >> ashish >> >> 2010/8/24 André Rodrigues : >> > Hi, thanks for your answer! >> > >> > I'm usi

Re: Help implementing SSL

2010-08-25 Thread André Rodrigues
Alright, thanks ! 2010/8/24 Ashish > Let me try the sample at my end ... > > Will revert back as soon as I can. > > thanks > ashish > > 2010/8/24 André Rodrigues : > > Hi, thanks for your answer! > > > > I'm using MINA 2.0, and the SSLFilter is the only filter I'm using. > > > > I'll post th

Re: Help implementing SSL

2010-08-24 Thread Ashish
Let me try the sample at my end ... Will revert back as soon as I can. thanks ashish 2010/8/24 André Rodrigues : > Hi, thanks for your answer! > > I'm using MINA 2.0, and the SSLFilter is the only filter I'm using. > > I'll post the System.out output for both the client and the server after > se

Re: Help implementing SSL

2010-08-24 Thread André Rodrigues
Hi, thanks for your answer! I'm using MINA 2.0, and the SSLFilter is the only filter I'm using. I'll post the System.out output for both the client and the server after setting the parameter you suggested: *Server*: * *found key for : tcc* *chain [0] = [* *[* * Version: V3* * Subject: CN=A

Re: Help implementing SSL

2010-08-23 Thread Ashish
What's the error? MINA version? Try passing this JVM srgument -Djavax.net.debug=all or -Djavax.net.debug=ssl it will show all the SSL communication happening. Its would be easy to point the error. AFAIK, SSL Filter should be the first filter in the chain. Since you are using provided example you

Help implementing SSL

2010-08-23 Thread André Rodrigues
Hi everyone! I'm trying to fix up a simple MINA example using SSL and I'm having some trouble. Here's what I did: 1) I'm running the EchoServer example with SSL turned on. I generated the bogus.cert keystore using keytool as described in the documentation. 2) I created a simple MINA client that c