Client File Configuration
To ensure secure communication, please complete the configuration related to encrypted transmission on the Kafka client.
The following operations should be performed on the control node within the cluster.
TOC
Required File Preview
Prepare the files according to the authentication type of the Kafka instance. Each file corresponds one-to-one with the Kafka instance. If there are multiple instances, separate configurations for each file are required, and the related files can be placed in different paths. For scenarios involving access within the cluster, the client path is exemplified as /home/kafka.
I. Configure CA Certificate
-
Generate the CA certificate.
-
Generate the password for the CA certificate. Please record this password.
II. User Certificate
-
Generate the user certificate.
-
Generate the password for the user certificate. Please record this password.
III. Configure Client Configuration Files
client-ssl.properties (Without Authentication)
client.properties (For SCRAM-SHA-512 Authentication)
Prerequisite: On the User Management tab, click on the secret dictionary and record the value of the password field.
client-ssl.properties (For TLS Authentication)
To enable external access, include ssl.endpoint.identification.algorithm= in the configuration file.
IV. Copy Files to Client
Tip: Please refer to the table in the required file preview to determine the necessary files for your method of access.
Intra-cluster Access
Ensure that the required files are placed in the paths mentioned in the client configuration files.
External Access
Ensure that the required files are placed in the paths mentioned in the client configuration files.