davsclaus opened a new pull request, #30382: URL: https://github.com/apache/camel/pull/30382
## Backport of #30372 Backport of #30372 (CAMEL-27228: camel-vertx-http - an https:// address is called with TLS also when no sslContextParameters is configured) onto `camel-4.18.x`, for 4.18.6. JIRA: [CAMEL-27228](https://issues.apache.org/jira/browse/CAMEL-27228) **Original PR:** #30372 - CAMEL-27228: camel-vertx-http - an https:// address is called with TLS also when no sslContextParameters is configured **Original author:** @davsclaus **Target branch:** `camel-4.18.x` ### Straight or adapted Adapted: a cherry-pick (`-x`) of the squash commit ec14c4a9edaa, with these changes for `camel-4.18.x`: - `DefaultVertxHttpBinding` on this branch builds the request with `request(method, port, host, path)` for an explicit port and `requestAbs(...)` otherwise, with no separate proxy branch. The 5 lines that turn on TLS for an `https://` address go after that if/else. So here the fix covers `https://` addresses with a port, also through a proxy; addresses without a port already used TLS. - `VertxHttpHttpsAddressTlsTest` uses the test base of this branch. - The catalog copy of the component doc does not exist on this branch and is left out. - Tests: `VertxHttpHttpsAddressTlsTest` (5), `VertxHttpSSLTest`, `VertxHttpSSLGlobalConfigurationTest` and `VertxHttpProxyServerTest` pass; without the change, the wire test, https with a port and https with a port plus a proxy fail. The upgrade-guide entry is left out of this PR: the upgrade guides for all versions live on `main`, where the 4.18.6 entry goes into the guide of this line in a separate doc PR. _Claude Code on behalf of Claus Ibsen_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
