[ 
https://issues.apache.org/jira/browse/CAMEL-27582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet reassigned CAMEL-27582:
---------------------------------------

    Assignee: Guillaume Nodet

> camel-thrift - the producer ignores the key managers of sslContextParameters, 
> so it cannot authenticate with a client certificate
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27582
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27582
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Claus Ibsen
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.25.0
>
>
> Found while working on CAMEL-26546. ThriftProducer builds 
> TSSLTransportFactory.TSSLTransportParameters from the trust store of 
> sslContextParameters only (path and password), so the key managers are 
> dropped: the producer never sends a client certificate, and mutual TLS 
> against a Thrift server that requires one fails. The named groups and 
> signature schemes are dropped as well (now with a WARN, CAMEL-26546).
> The consumer already uses the decorated SSLContext of sslContextParameters 
> (createSSLContext). The producer could do the same with a socket from that 
> SSLContext, but note two changes: a trust store path without a scheme is 
> resolved differently (Thrift tries the file system first, Camel the 
> classpath), and the producer then starts to send a client certificate when 
> key managers are configured.
> _Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to