Authorization for tls-external not working with additional subject fields #5439
Unanswered
opsocomusr
asked this question in
Q&A
Replies: 1 comment 7 replies
-
This is expected. When the certificate subject is |
Beta Was this translation helpful? Give feedback.
7 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.
Uh oh!
There was an error while loading. Please reload this page.
-
With our own external certificates for the users (tls-external), authentication goes through fine but authorization fails if we have additional subject fields in the certificate.
Examples:
subject= /C=XX/ST=Abcd/L=Xyz/O=Test/CN=external-user - Not working.
subject= /CN=external-user - Working.
Logs:
2021-08-17 13:04:17,806 INFO Principal = User:CN=external-user,O=Test,L=Xyz,ST=Abcd,C=XX is Denied Operation = Describe from host = x.x.x.x on resource = Topic:LITERAL:my-topic for request = Metadata with resourceRefCount = 1 (kafka.authorizer.logger) [data-plane-kafka-request-handler-1]
Why won't the authorization work even if we have the required CN available in the subject? Does strimzi do an exact match only for the CN?
Beta Was this translation helpful? Give feedback.
All reactions