Extended server_name (SNI Extension) not sent with jdk1.8.0 but send with jdk1.7.0

后端 未结 5 927
旧时难觅i
旧时难觅i 2020-11-27 07:53

I have implemented a JAX-WS client by using ApacheCXF (v3.0.4) and everything works successfully but the problem comes when I want to use a secure connection (SSL/TLS) with

5条回答
  •  半阙折子戏
    2020-11-27 07:59

    You, or the underlying libs (the WS lib does it) might be using setHostnameVerifier(..)

    There is a bug in java8, where if setHostnameVerifier(..) is used the SNI is not done from the client side.

    https://bugs.openjdk.java.net/browse/JDK-8072464

提交回复
热议问题