[Enabling one way TLS authentication in Kafka] ...
See original GitHub issueHi Team,
I have a question regarding the enabling of the one way TLS authentication, How do we achieve this and what change do we need in the Kafka CR.
Let’s say if I want to test producing messages on a particular topic on internal bootstrap with 9093, Do I need to disable the following configuration and then call the producer.sh by using only the Cluster CA crt, Is this called as 1-way TLS authentication?
tls:
authentication:
type: tls
./bin/kafka-console-producer.sh --broker-list mm-backup-cluster-kafka-bootstrap:9093 --topic mm-src-cluster.mm2-topic \
--producer-property security.protocol=SSL \
--producer-property ssl.truststore.type=PKCS12 \
--producer-property ssl.truststore.password=123456 \
--producer-property ssl.truststore.location=/tmp/certs/cluster.truststore.p12
need your inputs and help here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Encrypt and Authenticate with TLS - Confluent Documentation
Technically speaking, TLS encryption already enables one-way authentication in which the client authenticates the server certificate.
Read more >Securing Kafka with Mutual TLS and ACLs - Medium
The purpose of this article is to outline what it means to secure a Kafka installation with mutual TLS (Transport Layer Security), what...
Read more >Configuring Your Kafka Server for Mutual TLS - Smallstep
Configure Kafka to require clients to authenticate with a certificate issued by your CA. To tell Kafka to use mutual TLS and not...
Read more >How to configure clients to connect to Apache Kafka Clusters ...
Enabling TLS authentication on the Kafka Broker By default, in a secure cluster, Kafka has a single listener that is configured for handling ......
Read more >Kafka TLS/SSL Example Part 3: Configure Kafka - Vertica
Step 1: Create Truststore and Keystore; Step 2: Let Kafka Read Keystore and Truststore Files; Step 3: Edit Kafka Configuration to Use TLS/SSL...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have another question here, after enabling the tls: {}, Now i am able to hit the request with ANONYMOUS user, However, one of the issues I see is, ANONYMOUS doesn’t have access to a particular topic.
Question is, Do we need to manually add the ACLs for the ANONYMOUS user, or are they enable by default?
here is my ACL’s list which doesn’t show any ANONYMOUS list.
Kafka spec
Kafka Topic spec -
kafkaUser spec-
I applied TLS on external and internal listeners I extracted the CA.cert to make a truststore. I extracted the user.p12 and user.password to make the keystore i used groupID my-group for Kafka Consumer to read data from topic my-user it works now to use an external Camel route application to connect to a Openshift Strimzi !!!
Request: It would be great if you provided a portal for the strimzi from the operator which: