[
https://issues.apache.org/jira/browse/CAMEL-25105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18144571#comment-18144571
]
Claus Ibsen commented on CAMEL-25105:
-------------------------------------
Backported to camel-4.22.x via https://github.com/apache/camel/pull/29858 and
to camel-4.18.x via https://github.com/apache/camel/pull/29861.
_Claude Code on behalf of davsclaus_
> camel-netty - The client authentication of sslContextParameters is overridden
> by needClientAuth=false
> -----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-25105
> URL: https://issues.apache.org/jira/browse/CAMEL-25105
> Project: Camel
> Issue Type: Bug
> Components: camel-netty, camel-netty-http
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.18.6, 4.22.3, 4.23.0
>
>
> A camel-netty (and camel-netty-http) consumer using {{sslContextParameters}}
> does not use the client authentication configured in the server parameters of
> the sslContextParameters
> ({{SSLContextServerParameters.clientAuthentication}}, or
> {{camel.ssl.clientAuthentication}} with global SSL).
> The SSLEngine created from the sslContextParameters is configured with the
> client authentication (such as REQUIRE), but afterwards the consumer calls
> {{engine.setNeedClientAuth(needClientAuth)}} with the endpoint option, which
> is false by default, so the client authentication is turned off (also WANT).
> Affected: DefaultServerInitializerFactory (camel-netty),
> HttpServerInitializerFactory and HttpServerSharedInitializerFactory
> (camel-netty-http).
> The fix only sets need client authentication when the needClientAuth option
> is enabled.
> _Claude Code on behalf of Claus Ibsen_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)