且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

javax.net.ssl.SSLHandshakeException:没有合适的协议

更新时间:2022-04-30 18:21:54

来自 Apache Tomcat 8配置参考 sslEnabledProtocols 应代表


支持HTTPS连接的逗号分隔SSL协议列表。

The comma separated list of SSL protocols to support for HTTPS connections.

Apache Tomcat 8 - 安全注意事项文档有一个示例,指示此参数的正确用法 -
sslEnabledProtocols =TLSv1,TLSv1.1, TLSv1.2\" 工作。您错误地指定使用 + 而不是 - TLSv1 + TLSv1.1 + TLSv1.2

The Apache Tomcat 8 - Security Considerations document has an example indicating the correct usage of this parameter -- sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2". You have this incorrectly specified to use + instead of , -- TLSv1+TLSv1.1+TLSv1.2.