I have Strimzi Kafka installed with Kafka cluster with TLS listeners (in OpenShift, if it matters).
When I add a KafkaUser
I request TLS authentication like that:
spec:
authentication:
type: tls
authorization:
type: simple
Then I extract created by Strimzi user's keystore and provide it when I connect to Kafka bootstrap server from a client code.
Question: how can I provide custom SSL certificate when add KafkaUser
, or is there a way to replace auto generated SSL user certificate with custom one (e.g. to extend validity period)? In particular, to which secret's truststore add user's certificate? Or it's a bad practice and I should stick with auto generated?