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

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

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

_Claude Code on behalf of Claus Ibsen_

> camel-vertx-http - an https:// address is called with TLS also when no 
> sslContextParameters is configured
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27228
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27228
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-vertx-http
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> When a vertx-http endpoint calls an https:// address and no 
> sslContextParameters is configured (and no custom WebClientOptions turn TLS 
> on), the request is sent without TLS to the https port.
> Without a proxy, the producer builds the request with 
> WebClient.request(method, port, host, path), which does not take TLS from the 
> scheme. This applies to https:// addresses with an explicit port, and since 
> 4.21 to all https:// addresses.
> Fix: turn on TLS on the request when the scheme is https. The JVM default 
> trust store and host name verification then apply.
> _Claude Code on behalf of Claus Ibsen_



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

Reply via email to