Claus Ibsen created CAMEL-27581:
-----------------------------------
Summary: camel-kafka - apply the named groups and signature
schemes of sslContextParameters with a Camel SslEngineFactory
Key: CAMEL-27581
URL: https://issues.apache.org/jira/browse/CAMEL-27581
Project: Camel
Issue Type: Improvement
Components: camel-kafka
Reporter: Claus Ibsen
Fix For: 4.25.0
Follow-up of CAMEL-26546. The Kafka client builds its TLS engine from its own
ssl.* properties, which cannot carry named groups or signature schemes, so
camel-kafka (and camel-kafka-share) now log a WARN when sslContextParameters
configures them, and drop the automatic post-quantum preference of
SSLContextParameters.
Kafka has a pluggable ssl.engine.factory.class
(org.apache.kafka.common.security.auth.SslEngineFactory), and unknown configs
are passed on to it, so a Camel SslEngineFactory could create the engines from
the SSLContext of sslContextParameters (createSSLContext), which applies all
its settings. It replaces the default factory of Kafka, so the keystore and
truststore options of the endpoint (sslKeystoreLocation, ...) and ssl.* entries
in additionalProperties would no longer apply when sslContextParameters is
used, which needs a clear rule and docs.
_Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)