SNI not sent with Java 22+ using java.net.http.HttpClient.Builder#sslParameters
Jaikiran Pai
jai.forums2013 at gmail.com
Tue Nov 19 04:38:29 UTC 2024
Hello Nicolas,
On 18/11/24 10:16 pm, Nicolas Henneaux wrote:
> Hi Daniel,
>
> ...
>
> I think it is a regression introduced in Java22 since configured
> SslParameters#ServerNames is now discarded in favour of the HTTP
> hostname which is not valid if the hostname is an IP.
Do you mean that, after that change in the internals of the
java.net.http.HttpClient, the HttpClient implementation is now setting a
SNI name which is an IP address? Do you have an example reproducer or
any logs which reproduces this issue?
-Jaikiran
More information about the net-dev
mailing list