According to the "Enabling SSL" section of the Apache Solr 8.11
Reference Guide [1]:

> ZooKeeper does not support encrypted communication with clients like
> Solr. There are several related JIRA tickets where SSL support is
> being planned/worked on:
> https://issues.apache.org/jira/browse/ZOOKEEPER-235
> https://issues.apache.org/jira/browse/ZOOKEEPER-236
> https://issues.apache.org/jira/browse/ZOOKEEPER-1000
> https://issues.apache.org/jira/browse/ZOOKEEPER-2120

However, that appears to be outdated information, since Apache ZooKeeper
has already implemented encrypted communications with clients since
around ZooKeeper 3.5 (the current stable ZooKeeper is version 3.6.3).

How do I configure Solr to use SSL when communicating with ZooKeeper?

In my ZooKeeper configuration (zoo.cfg), I have this:

    secureClientPort=2182
    #clientPort=2181  # Disabled. Allow secure connections only.

    ssl.clientAuth=need
    ssl.keystore.location=/opt/zookeeper/conf/zk-keystore.jks
    ssl.keystore.password=123456
    ssl.truststore.location=/opt/zookeeper/conf/zk-truststore.jks
    ssl.truststore.password=123456

    # ...

Now, what should I do on the SolrCloud side to connect to ZooKeeper
using SSL?


  [1]: https://solr.apache.org/guide/8_11/enabling-ssl.html#configure-zookeeper

Reply via email to