Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13477

KafkaConfiguration puts truststore password into keystore password property

    XMLWordPrintableJSON

    Details

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              KitD Kit Davies
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: