[QUESTION] kafka super user with tls-external authentication denied authorisation in Kafka strimzi cluster #11049
-
GENERAL SETUP
KAFKA YAML
SECRET CREATEION
ERROR AT THE BROKER POD textPayload: "2025-01-16 13:13:20,802 INFO Principal = User:1.2.840.113549.1.9.1=#161761646577616c652e616465736f6261406e6162752e6565,CN=super-user,OU=Dataops,O=**********,L=**************,C=EE is Denied operation = DESCRIBE from host = 10.164.15.214 on resource = Topic:LITERAL:kemi for request = Metadata with resourceRefCount = 1 based on rule DefaultDeny (kafka.authorizer.logger) [data-plane-kafka-request-handler-1]" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I think that for a start you would need to fix the formatting to make the YAMLs readable. |
Beta Was this translation helpful? Give feedback.
I think your certificate subject is not as you expected it ... based onthe authorization error, it looks like the username is
1.2.840.113549.1.9.1=#161761646577616c652e616465736f6261406e6162752e6565,CN=super-user,OU=Dataops,O=**********,L=**************,C=EE
So that is what you need to use in the Kafka CR:
Also, you do not need the
KafkaUser
resource in this case, it is meaning less because even if you add anything to it, it will have no relation to the user fdrom your certificate (as it would…