Hi,
I am using SSL for broker communications.
Now I want to run to connect to port 9093 with GetOffsetShell.
How can I have the class use the ssl certificates?
Are the any environment variables ?
Can I use a properties file?
Regards Hans
But thanks anyway for the quick answer.
Op do 23 aug. 2018 om 14:38 schreef HG :
> Well it works fine when I do :
> export
> "KAFKA_OPTS=-Djava.security.auth.login.config=/u01/kafka/config/kafka_server_jaas.conf"
>
> Op do 23 aug. 2018 om 14:25 schreef Manikumar :
&
/kafka/clients/admin/KafkaAdminClient.html
> >*
> > Examples: https://github.com/apache/kafka/pull/5200/files
> > http://kafka.apache.org/documentation/#adminclientconfigs
> > To configure SASL/PLAIN on clients:
> > http://kafka.apache.org/documentation/#se
quot;
>
> zk_client_jaas.conf:
> // Zookeeper client authentication
> Client {
> com.sun.security.auth.module.Krb5LoginModule required
> useKeyTab=true
> storeKey=true
> keyTab="/etc/security/keytabs/kafka_server.keytab"
> principal="kafka/kafka1.hostname...
kafka-acls.sh as kafka user (super user) to get write
> permission on zk.
> We should pass required jaas conf to the script.
>
> On Thu, Aug 23, 2018 at 3:02 PM HG wrote:
>
> > Hi,
> >
> > I have an environment with SSL, SASL and ACL's enabled.
> > When I
Hi,
I have an environment with SSL, SASL and ACL's enabled.
When I set zookeeper.set_acl=true in the server.properties file of the
brokers I cannot create topics , ACL's etc.
[root@host201 kafka]# bin/kafka-acls.sh --authorizer-properties
zookeeper.connect=localhost:2181 --add --allow-principal