Rakesh Kumar Singh created ZOOKEEPER-2585:

             Summary: ACL with SSL is not working
                 Key: ZOOKEEPER-2585
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2585
             Project: ZooKeeper
          Issue Type: Bug
          Components: server
    Affects Versions: 3.5.1
            Reporter: Rakesh Kumar Singh
            Priority: Critical

Set ACL with SSL is not working

Steps to reproduce:-
1. Start zookeeper in ssl mode in standalone
2. Connect zookeeper from zookeeper client (using zkCli.sh)
3. add auth and set ACL as below and then quit the client :-

[zk: localhost:2181(CONNECTED) 0] addauth digest u1:p1
[zk: localhost:2181(CONNECTED) 1] create /test_auth hello
Created /test_auth
[zk: localhost:2181(CONNECTED) 2] setAcl /test_auth auth:u1:p1:crdwa
[zk: localhost:2181(CONNECTED) 3] get /test_auth
[zk: localhost:2181(CONNECTED) 4] quit

4. Connect again zookeeper from zookeeper client (using zkCli.sh)
5. Try to access the znode, try to set the data and so on, everything is allowed

[zk: localhost:2181(CONNECTED) 2] set /test_auth hello1
[zk: localhost:2181(CONNECTED) 3] get /test_auth
[zk: localhost:2181(CONNECTED) 1] getAcl /test_auth
: cdrwa
: cdrwa

This message was sent by Atlassian JIRA

Reply via email to