You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Kit Davies (JIRA)" <ji...@apache.org> on 2019/05/02 15:54:00 UTC
[jira] [Created] (CAMEL-13477) KafkaConfiguration puts truststore
password into keystore password property
Kit Davies created CAMEL-13477:
----------------------------------
Summary: KafkaConfiguration puts truststore password into keystore password property
Key: CAMEL-13477
URL: https://issues.apache.org/jira/browse/CAMEL-13477
Project: Camel
Issue Type: Bug
Components: camel-kafka
Reporter: Kit Davies
If you create a component-level KafkaConfiguration, and set SslContextParameters on it that includes a truststore password, then when creating consumer or producer properties, the KafkaConfiguration puts the truststore password into the keystore password field, resulting in errors such as:
{{Caused by: org.apache.kafka.common.KafkaException: SSL key store is not specified, but key store password is specified.}}
{{ at org.apache.kafka.common.security.ssl.SslFactory.createKeystore(SslFactory.java:283)}}
{{ at org.apache.kafka.common.security.ssl.SslFactory.configure(SslFactory.java:126)}}
{{ at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:149)}}
PR available here:
[https://github.com/apache/camel/pull/2899]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)