davsclaus opened a new pull request, #30372:
URL: https://github.com/apache/camel/pull/30372

   [CAMEL-27228](https://issues.apache.org/jira/browse/CAMEL-27228)
   
   ## What changed
   - `DefaultVertxHttpBinding` sets `ssl(true)` on the request when the address 
is `https://`, including an address given in the `CamelHttpUri` header.
     - Without a proxy, `WebClient.request(method, port, host, path)` did not 
take TLS from the scheme.
     - So TLS was used only when `sslContextParameters` (or custom 
`WebClientOptions`) turned it on.
   - The server certificate is checked against the JVM default trust store, and 
the host name is verified (the Vert.x default).
   - Proxy mode (`requestAbs`) and `http://` addresses are unchanged.
   - One sentence in the SSL section of the component docs.
   
   ## Upgrade note
   New 4.24 entry: an `https://` address now always uses TLS. A route that 
called an `https://` address of a plain-HTTP server now fails, and should use 
`http://`.
   
   ## Tests
   - New `VertxHttpHttpsAddressTlsTest` checks the prepared request for `https` 
with a port, without a port, and with a proxy, and for `http`.
   - A wire-level test with a local plain socket checks that the first byte 
sent to an `https://` address is a TLS handshake record (0x16), not an HTTP 
request line. It fails without the change: the first byte is `P` of `POST`.
   - All module tests pass (129), including the existing SSL and proxy tests.
   
   _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]

Reply via email to