Hi All It seems to be working fine by adding sslFilter to connector & further setting useClientMode = true for this sslFilter.
Thanks to all for sparing time & helping me. Regards, Ganesh On Fri, Mar 8, 2013 at 8:30 PM, Andrew Cagney <cag...@fixmo.com> wrote: > Are you using openjdk-6? I'm going out on a limb here but if you are > try a different JVM. > https://issues.apache.org/jira/browse/DIRMINA-937 > > On Thu, Mar 7, 2013 at 9:47 PM, Ganesh Bansal <ganesh1.ban...@gmail.com> > wrote: > > Hi Lécharny > > > > Thanks for your inputs.I tried adding ssl filter in connector as well but > > with no luck. Still the same behavior. I am attaching updated Main.java > for > > your reference. > > > > Please let me know if I m missing something further. > > > > > > On Thu, Mar 7, 2013 at 11:10 PM, Emmanuel Lécharny <elecha...@gmail.com> > > wrote: > >> > >> Le 3/7/13 6:04 PM, Ganesh Bansal a écrit : > >> > Hi > >> > > >> > Thanks for your response. Yes, I am adding SSLFilter in filter chain. > >> > Please find attached source code for your reference. > >> > >> As I said, you should have checked if the SSL filter has been added into > >> both the Acceptor *and* the connector. Looking at the code, I see that > >> the SSL Filter has just been added to the Acceptor. > >> > >> No question why you can't connect using SSL when the connector is not > >> capable to hanshake with the server... > >> > >> Can you add the SSLFilter into the Connector chain, and see if it's any > >> better ? > >> Thanks > >> > >> -- > >> Regards, > >> Cordialement, > >> Emmanuel Lécharny > >> www.iktek.com > >> > > >