[
https://issues.apache.org/jira/browse/CAMEL-13477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-13477.
---------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Fix Version/s: 2.22.5
2.23.3
3.0.0-M3
2.24.0
3.0.0
Thanks for reporting and the PR
> 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
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.0.0, 2.24.0, 3.0.0-M3, 2.23.3, 2.22.5
>
>
> 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)