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

Claus Ibsen resolved CAMEL-27229.
---------------------------------
    Resolution: Fixed

Fixed on main in https://github.com/apache/camel/pull/30373 (4.24.0). Backports 
to camel-4.22.x and camel-4.18.x follow.

_Claude Code on behalf of Claus Ibsen_

> camel-ftp - ftps checks the server certificate against the JVM trust store 
> when no trust store is configured
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27229
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27229
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> An ftps endpoint configured with neither sslContextParameters nor the 
> ftpClient.trustStore options keeps the default trust manager of Apache 
> Commons Net. That trust manager only checks the validity dates of the server 
> certificate.
> Without trust settings, the endpoint should check the server certificate 
> against the default trust store of the JVM, as other components do. An FTPS 
> server with a self-signed certificate then needs its certificate in a trust 
> store, configured with the ftpClient.trustStore options or 
> sslContextParameters. Endpoints with sslContextParameters, the 
> ftpClient.trustStore options or a custom ftpClient are not changed.
> _Claude Code on behalf of Claus Ibsen_



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

Reply via email to