Hi there, Which version of the client are you using? This is available only on the 3.5 branch and trunk.
-Flavio > On 17 Jun 2016, at 00:29, Vaibhav Devekar <[email protected]> wrote: > > Re-sending since I probably wasn't subscribed before. > > --- > Vaibhav Devekar > > > > On Thu, Jun 16, 2016 at 4:23 PM, Vaibhav Devekar <[email protected]> > wrote: > >> Hi all, >> >> I'm using zookeeper for dynamic config management among spring apps hosted >> on many servers. I'm trying to employ SSL for communication between these >> java app and zookeeper since these properties can be sensitive information >> such as database passwords. >> >> Based on this guide - >> https://cwiki.apache.org/confluence/display/ZOOKEEPER/ZooKeeper+SSL+User+Guide, >> I was able to test out SSL for zkCli and zookeeper. I was also able to >> verify that two java web apps can do 2-way SSL with each other. I'm now >> trying to do the same with a java client(spring webapp) and zookeeper. >> However, it hasn't worked so far. The zookeeper log says: >> >> 2016-06-16 14:42:56,379 [myid:] - WARN [New I/O worker >> #21:NettyServerCnxnFactory$CnxnChannelHandler@141] - Exception caught >> [id: 0x265bca3f, /fe80:0:0:0:0:0:0:1%1:61137 => /fe80:0:0:0:0:0:0:1%1:2281] >> EXCEPTION: org.jboss.netty.handler.ssl.NotSslRecordException: not an >> SSL/TLS record: >> 0000002d0000000000000000000000000000ea600000000000000000000000100000000000000000000000000000000000 >> org.jboss.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: >> 0000002d0000000000000000000000000000ea600000000000000000000000100000000000000000000000000000000000 >> >> >> Any pointers would be great. Does java API for zookeeper even support SSL? >> >> Code example: https://github.com/devekar/sslDemo >> >> Thank you. >> >> --- >> Vaibhav Devekar >> >> >>
