Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Keystore key password must be the same as the keystore password

...

Config KeyDocumentation

zookeeper.ssl.client.enable

Optional Boolean, default=false

Set client to use TLS when connecting to ZooKeeper. When true, <code>zookeeper.clientCnxnSocket</code> must be set (typically to <code>org.apache.zookeeper.ClientCnxnSocketNetty</code>); other values to set may include <include list of all other properties below>
zookeeper.clientCnxnSocketTypically set to <code>org.apache.zookeeper.ClientCnxnSocketNetty</code> when using TLS connectivity to ZooKeeper
zookeeper.ssl.keystore.locationKeystore location when using a client-side certificate with TLS connectivity to ZooKeeper.  Overrides any explicit value set via the <code>zookeeper.ssl.keyStore.location</code> system property (note the camelCase).

zookeeper.ssl.keystore.password

Optional Password

Keystore password when using a client-side certificate with TLS connectivity to ZooKeeper.  Overrides any explicit value set via the <code>zookeeper.ssl.keyStore.password</code> system property (note the camelCase).  Note that ZooKeeper does not support a <code>key</code> password different from the <code>keystore</code> password, so be sure to set the key password in the keystore to be identical to the keystore password; otherwise the connection attempt to Zookeeper will fail.

zookeeper.ssl.keystore.type

Keystore type when using a client-side certificate with TLS connectivity to ZooKeeper.  Overrides any explicit value set via the <code>zookeeper.ssl.keyStore.type</code> system property (note the camelCase).  The default value of <code>null</code> means the type will be auto-detected based on the filename extension of the keystore.
zookeeper.ssl.truststore.locationTruststore location when using TLS connectivity to ZooKeeper.  Overrides any explicit value set via the <code>zookeeper.ssl.trustStore.location</code> system property (note the camelCase).
zookeeper.ssl.truststore.password

Optional Password

Truststore password when using TLS connectivity to ZooKeeper.  Overrides any explicit value set via the <code>zookeeper.ssl.trustStore.password</code> system property (note the camelCase).

zookeeper.ssl.truststore.type

Truststore type when using TLS connectivity to ZooKeeper.  Overrides any explicit value set via the <code>zookeeper.ssl.trustStore.type</code> system property (note the camelCase).  The default value of <code>null</code> means the type will be auto-detected based on the filename extension of the truststore.

zookeeper.ssl.protocol

Default=TLSv1.2

Specifies the protocol to be used in ZooKeeper TLS negotiation.  Overrides any explicit value set via the <code>zookeeper.ssl.protocol</code> system property.
zookeeper.ssl.enabled.protocolsSpecifies the enabled protocol(s) in ZooKeeper TLS negotiation (csv).  Overrides any explicit value set via the <code>zookeeper.ssl.enabledProtocols</code> system property (note the camelCase).  The default value of <code>null</code> means the enabled protocol will be the value of the <code>zookeeper.ssl.protocol</code> configuration property.
zookeeper.ssl.cipher.suitesSpecifies the enabled cipher suites to be used in ZooKeeper TLS negotiation (csv).  Overrides any explicit value set via the <code>zookeeper.ssl.ciphersuites</code> system property (note the single word "ciphersuites").  The default value of <code>null</code> means the list of enabled cipher suites is determined by the Java runtime being used.
zookeeper.ssl.context.supplier.classSpecifies the class to be used for creating SSL context in ZooKeeper TLS communication

zookeeper.ssl.endpoint.identification.algorithm

Default=https

Specifies whether to enable hostname verification in the ZooKeeper TLS negotiation process, with (case-insensitively) "https" meaning ZooKeeper hostname verification is enabled and an explicit blank value meaning it is disabled (disabling it is only recommended for testing purposes).  Overrides any explicit "true" or "false" value set via the <code>zookeeper.ssl.hostnameVerification</code> system property (true implying https and false implying blank).

zookeeper.ssl.crl.enable

Optional Boolean, default=false

Specifies whether to enable Certificate Revocation List in the ZooKeeper TLS protocols

zookeeper.ssl.ocsp.enable

Optional Boolean, default=false

Specifies whether to enable Online Certificate Status Protocol in the ZooKeeper TLS protocols

As noted above, ZooKeeper does not support setting a key password within the keystore that differs from the keystore password itself: trying to do so will cause the ZooKeeper connection attempt to fail.  Therefore there is no configuration value for the key password, and the key password must be identical to the keystore password.

ZooKeeper Security Migration CLI

...