COnfigure kafka-ui to support SASL_SSL connnection to a secured Kafka #1002
Replies: 3 comments 2 replies
-
Hi, @nleeuskadi
You can pass these configurations in YAML format using this method: [Helm Charts Quick Start](https://ui.docs.kafbat.io/configuration/helm-charts/quick-start#passing-configuration-file-as-configmap). kafka:
clusters:
- name: Server
properties:
security.protocol: SASL_SSL
ssl.truststore.location: /path/to/truststore.p12
ssl.truststore.password: <<pwd>>
ssl.truststore.type: PKCS12
sasl.mechanism: OAUTHBEARER
sasl.jaas.config: org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule required oauth.client.id="client-id" oauth.client.secret="client-secret" oauth.ssl.truststore.location="/path/to/truststore.p12" oauth.ssl.truststore.password="<<pwd>>" oauth.ssl.truststore.type="PKCS12" oauth.token.endpoint.uri="https://$SSO_HOST/realms/ns_name/protocol/openid-connect/token";
sasl.login.callback.handler.class: io.strimzi.kafka.oauth.client.JaasClientOauthLoginCallbackHandler |
Beta Was this translation helpful? Give feedback.
-
hello @germanosin , |
Beta Was this translation helpful? Give feedback.
-
hello @germanosin , in fact I have an issue with CLASSPATH. Currently, I enriched the yaml values with adding env variable:
I can check in the pod that the kafka libraires are avaliable in the expected foler and the CLASSPATH variable is well set with it. But kafka-ui failed ot start with this error:
|
Beta Was this translation helpful? Give feedback.
-
Hello,
In the Kafka-ui documentation , I cannot find out how to set Kafka-ui helm chart values in order to make it configured in order to
connect to a secured Kafka through SALS_SSL.
Here below is a typical client.properties we are using to allow Clients to connect a secured kafka:
How to set these parameters in the helm chart values of kafka-ui?
Thank you in advance :)
Beta Was this translation helpful? Give feedback.
All reactions