You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Tom Bentley (JIRA)" <ji...@apache.org> on 2017/07/05 08:42:00 UTC

[jira] [Commented] (KAFKA-5519) Support for multiple certificates in a single keystore

    [ https://issues.apache.org/jira/browse/KAFKA-5519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074427#comment-16074427 ] 

Tom Bentley commented on KAFKA-5519:
------------------------------------

Can you explain why having a keystore per component is particularly problematic, but using multiple certificates in a keystore and using aliases would make things significantly better?

> Support for multiple certificates in a single keystore
> ------------------------------------------------------
>
>                 Key: KAFKA-5519
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5519
>             Project: Kafka
>          Issue Type: New Feature
>          Components: security
>    Affects Versions: 0.10.2.1
>            Reporter: Alla Tumarkin
>              Labels: upstream-issue
>
> Background
> Currently, we need to have a keystore exclusive to the component with exactly one key in it. Looking at the JSSE Reference guide, it seems like we would need to introduce our own KeyManager into the SSLContext which selects a configurable key alias name.
> https://docs.oracle.com/javase/7/docs/api/javax/net/ssl/X509KeyManager.html 
> has methods for dealing with aliases.
> The goal here to use a specific certificate (with proper ACLs set for this client), and not just the first one that matches.
> Looks like it requires a code change to the SSLChannelBuilder



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)