ssl connection issue to strimzi kafka #4560
Replies: 1 comment 2 replies
-
You did not provided how your Kafka custom resource looks like. But from the template in the Helm Chart, you seem to be making up your own fields. You can use only the fields documented in the documentation. So for example this part should not be there: containers:
volumeMounts:
- name: server-prop
mountPath: /tmp/strimzi/kafka/server.properties
subPath: server.properties
- name: kafka-trust
mountPath: /tmp/strimzi/kafka/server.truststore.key
subPath: kafka.truststore.key
- name: kafka-key
mountPath: /tmp/strimzi/kafk/server.keystore_1615469374.jks
subPath: kafka.keystore.key
volumes:
- name: server-prop
hostPath:
path: /home/ist/Desktop/ELK/kafka/server.properties
- name: kafka-trust
hostPath:
path: /home/ist/Documents/certificates/server.truststore.jks
- name: kafka-key
hostPath:
path: /home/ist/Documents/certificates/server.keystore_1615469374.jks Similarly, your configuration of health check probes does not follow the Strimzi API. The You should also run the client from a separate pod. It would be good to understand where / how did you got the stores with the certificates. But it is hard to say what the issue here is because your KAfka CR seems to be wrong on many places. |
Beta Was this translation helpful? Give feedback.
-
I AM TRYING TO SET UP SSL CONNECTION TO STRIMZI KAFKA WITH SUPPORTING OF THE STRIMZI OPERATOR THROUGH HELM CHART
The below is the yaml file of the kafka cluster
strimzi-kafka-operator.zip
kafka.zip
my server.properties
security.protocol=SSL
ssl.truststore.location=/tmp/kafka/kafka.truststore.jks
ssl.truststore.password=kafka123
ssl.keystore.location=/tmp/kafka/kafka.keystore.jks
ssl.keystore.password=kafka123
ssl.enabled.protocols=TLSv1.2
ssl.endpoint.identification.algorithm=
ssl.cipher.suites=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
ssl.protocol=TLSv1.2
my service pod details
Even i have tried to edit the service port number of kafka with 9093 but it is not updating
i am getting below error
can any one help me out
Beta Was this translation helpful? Give feedback.
All reactions