RFR: 8065422: Trailing dot in hostname causes TLS handshake to fail with SNI disabled

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Wed Jan 26 18:58:09 UTC 2022


On Tue, 25 Jan 2022 14:16:26 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> Is it possible to add a regression test using the `-Djdk.net.hosts.file` feature? It is a JVM-only `/etc/hosts` alternative.

Good to know that.  I added the test with customized hosts, and use URL "www.example.com.".

-------------

PR: https://git.openjdk.java.net/jdk/pull/7205



More information about the security-dev mailing list