Keycloak authentication and authorization dosn't work correctly #6384
Unanswered
geniymaxdem
asked this question in
Q&A
Replies: 1 comment 2 replies
-
From the client and broker error, I think it looks like this is not related to OAuth / Keycloak but to the Kafka connection it self. So that would point to wrongly configured truststore. How did you create / get the truststore? It is a bit weird if one out of 5 requests works, since in most cases the truststore would either work or not work. Might be interesting to run it with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I deployed kafka cluster with Keycloak authentication and authorization
When I try to test а authorization and authentication mechanism via keylock using a kafka-cli, I recive error like - PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This is my kafka-cluster configuration
The file alice.properties was created according to the official documentation
I check authentication and authorization using simple command - list topic
Kafka brokers logs
But what is most interesting is that 1 out of 5 requests works correctly
I no longer know which part of the configuration and settings to make changes.
Please help me with to sole the problem or suggest which certificates and storages are used by java in Kafka brokers
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions