Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 73EA8200BDB for ; Mon, 12 Dec 2016 21:28:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 72715160B22; Mon, 12 Dec 2016 20:28:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BC0E9160B2D for ; Mon, 12 Dec 2016 21:27:59 +0100 (CET) Received: (qmail 2761 invoked by uid 500); 12 Dec 2016 20:27:58 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 2622 invoked by uid 99); 12 Dec 2016 20:27:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 20:27:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8B0C92C0086 for ; Mon, 12 Dec 2016 20:27:58 +0000 (UTC) Date: Mon, 12 Dec 2016 20:27:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-4525) Kafka should not require SSL trust store password MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Dec 2016 20:28:00 -0000 [ https://issues.apache.org/jira/browse/KAFKA-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15743052#comment-15743052 ] ASF GitHub Bot commented on KAFKA-4525: --------------------------------------- GitHub user granthenke opened a pull request: https://github.com/apache/kafka/pull/2246 KAFKA-4525: Kafka should not require SSL trust store password You can merge this pull request into a Git repository by running: $ git pull https://github.com/granthenke/kafka truststore-password Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2246.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2246 ---- commit 47186bb1c87aa96bddcbb7b3a3841fe5d02b6792 Author: Grant Henke Date: 2016-12-12T20:21:10Z KAFKA-4525: Kafka should not require SSL trust store password ---- > Kafka should not require SSL trust store password > ------------------------------------------------- > > Key: KAFKA-4525 > URL: https://issues.apache.org/jira/browse/KAFKA-4525 > Project: Kafka > Issue Type: Bug > Components: security > Affects Versions: 0.9.0.0 > Reporter: Grant Henke > Assignee: Grant Henke > > When configuring SSL for Kafka; If the truststore password is not set, Kafka fails to start with: > {noformat} > org.apache.kafka.common.KafkaException: SSL trust store is specified, but trust store password is not specified. > at org.apache.kafka.common.security.ssl.SslFactory.createTruststore(SslFactory.java:195) > at org.apache.kafka.common.security.ssl.SslFactory.configure(SslFactory.java:115) > {noformat} > The truststore password is not required for read operations. When reading the truststore the password is used as an integrity check but not required. > The risk of not providing a password is that someone could add a certificate into the store which you do not want to trust. The store should be protected first by the OS permissions. The password is an additional protection. > Though this risk of trusting the OS permissions is one many may not want to take, its not a decision that Kafka should enforce or require. -- This message was sent by Atlassian JIRA (v6.3.4#6332)