握手警报:Unrecognized_name Liberty Profile
Handshake alert: Unrecognized_name Liberty Profile
我正在构建一个 Java EE Web 应用程序,它有一个通过 REST 连接到远程服务器的组件。不幸的是,此服务器在 SSL 证书 atm 方面存在一些问题,直到以后才得到修复。
根据我在 google 上的发现,我应该在 JVM 上禁用 SNI 以暂时 "fix" 握手警报错误的问题,但我不知道你是怎么做到的Websphere 自由配置文件。
有人知道怎么做或知道更好的解决方案吗?
你应该试试 -Djsse.enableSNIExtension=false
。在 Liberty 中,您可以将其放入 $servername/jvm.options
jsse.enableSNIExtension system property. Server Name Indication (SNI)
is a TLS extension, defined in RFC 4366. SNI enables TLS connections
to virtual servers, in which multiple servers for different network
names are hosted at a single underlying network address. Some very old
SSL/TLS vendors might not support SSL/TLS extensions. In this case,
set this property to false to disable the SNI extension.
我正在构建一个 Java EE Web 应用程序,它有一个通过 REST 连接到远程服务器的组件。不幸的是,此服务器在 SSL 证书 atm 方面存在一些问题,直到以后才得到修复。
根据我在 google 上的发现,我应该在 JVM 上禁用 SNI 以暂时 "fix" 握手警报错误的问题,但我不知道你是怎么做到的Websphere 自由配置文件。 有人知道怎么做或知道更好的解决方案吗?
你应该试试 -Djsse.enableSNIExtension=false
。在 Liberty 中,您可以将其放入 $servername/jvm.options
jsse.enableSNIExtension system property. Server Name Indication (SNI) is a TLS extension, defined in RFC 4366. SNI enables TLS connections to virtual servers, in which multiple servers for different network names are hosted at a single underlying network address. Some very old SSL/TLS vendors might not support SSL/TLS extensions. In this case, set this property to false to disable the SNI extension.