Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4619

C сlient zookeeper_init_ssl certificate password cannot contain commas.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.6.2, 3.8.0, 3.7.1
    • None
    • c client

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              llchry llchry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m