llchry created ZOOKEEPER-4619:
---------------------------------

             Summary: C сlient zookeeper_init_ssl certificate password cannot 
contain commas.
                 Key: ZOOKEEPER-4619
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4619
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.7.1, 3.8.0, 3.6.2
            Reporter: llchry


An exception occurs when cli_mt is used to connect to a server with SSL 
authentication enabled and the private key contains commas (,).

 

./cli_mt -h x.x.x.x:21281 -s 
"/root/zookeeper/zookeeper-client/zookeeper-client-c/ca.crt,/root/zookeeper/zookeeper-client/zookeeper-client-c/Certificate.pem,/root/zookeeper/zookeeper-client/zookeeper-client-c/PrivateKey,ecQrng,dtCtuCv,s7Qpj+Un"

 

2022-09-30 11:12:24,169:971(0x7f5932b5e700):ZOO_ERROR@init_ssl_for_socket@2788: 
Failed to load client private key from 
/root/zookeeper/zookeeper-client/zookeeper-client-c/PrivateKey.pem



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to