Can Apache Kafka handle two certificates in it keystore ?
Usecase:
We have mTLS enabled on Kafka and have 2 different Certificate Authorities (CA): One for issuing Server Certificates (extendedKeyUsage=serverAuth) and one for issuing Client Certificates (extendedKeyUsage=clientAuth).
Since Brokers act as both - client and server - we add both CA certificates to the truststore but also need the option to add 2 certificates to the keystore of the inter-broker listener. Does Apache Kafka supports this ? I miss an option to specify an key alias for server and client authentication, like in JBOSS Wildfly.
Hint: Of course Kafka can handle multiple CA certificates inside its truststore. But that is not the question here.
listener.name.internal.ssl.keystore.location=/keystore.jks. This is valid for allsslconfig options. It will overwrite the global options (likessl.keystore.location)