Claus Ibsen created CAMEL-27228:
-----------------------------------
Summary: 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
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)