Claus Ibsen created CAMEL-27229:
-----------------------------------

             Summary: 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
             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