仅在 AIX 7.1 上为 IBM SDK 8 和 Tomcat 7.0.108 启用 TLS 1.3

问题描述

我们只想在 AIX 7.1 上为 IBM SDK8(服务更新 6,修订包 25)和 Tomcat 7.0.108 启用 TLSv1.3。

我在 Tomcat 的 server.xml 中设置了 sslEnabledProtocols="TLSv1.3" 并且出现以下错误

SEVERE: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
            at com.ibm.jsse2.Z.<init>(Z.java:287)
            at com.ibm.jsse2.ac.<init>(ac.java:9)
            at com.ibm.jsse2.ba.a(ba.java:52)
            at com.ibm.jsse2.bf.beginHandshake(bf.java:84)
            at org.apache.tomcat.util.net.SecureNioChannel.reset(SecureNioChannel.java:91)
            at org.apache.tomcat.util.net.SecureNioChannel.<init>(SecureNioChannel.java:73)
            at org.apache.tomcat.util.net.NioEndpoint.setSocketoptions(NioEndpoint.java:677)
            at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:844)
            at java.lang.Thread.run(Thread.java:822)

我已按照本网站上的说明操作并尝试了所有标志,但上述错误仍然存​​在:https://www.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.security.component.80.doc/security-component/jsse2Docs/enablingtls.html

如果我在 Tomcat 的 server.xml 中设置 sslEnabledProtocols="TLSv1.2,TLSv1.3",我看不到错误,但客户端浏览器 (Chrome) 在 TLSv1.2 上而不是在 TLSv1.3 上连接。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)