Hi all, I think it should be possible to supply a custom javax.net.ssl.HostnameVerifier while building a java.net.http.HttpClient. While it is possible to disable standard hostname verification via the system property “jdk.internal.httpclient.disableHostnameVerification”, this doesn’t allow you to quarantine the behavior to a single HTTP client within the JVM.
Thanks for your consideration, Anders Wisch