rahulnirgude opened a new pull request, #17560:
URL: https://github.com/apache/kafka/pull/17560

   Client applications use SSL/TLS to connect with Kafka brokers in order to 
implement secured communication. The clients initiate SSL communication with 
Kafka brokers using the SSL Engine constructed from the ssl.* properties 
pointing to key store and trust store. This PR addresses couple of important 
enhancements related to how the key store is loaded for secured communication 
with Kafka brokers.
   
   **Problem :**
   Most of the times, the key store on the client side contains single key. But 
when the key store contains multiple keys, in order to avoid SSL handshake 
issues or authorization issues communicating with Kafka brokers, it is required 
to choose the right key from the key store.
   **Solution :**
   The key can be identified via key alias while constructing the SSL engine. 
This requires client to provide a new property ssl.keystore.alias that points 
to the key alias within the key store. The key manager implementation is 
modified to return the named key to be used for building the SSL Engine.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to