Which TLS version does Netty support? TLS 1.0, 1.1 or 1.2?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Which TLS version does Netty support? TLS 1.0, 1.1 or 1.2? I looked at http://netty.io/5.0/xref/io/netty/handler/ssl/SslHandler.html but it doesn't say which version exactly. 回答1: It may depend upon a few things. For example: 1) What version of java are you using and are you using Netty as a client or server? Java 1.7 enables TLS 1.2 in server mode but disables it in client mode by default. See https://blogs.oracle.com/java-platform-group/entry/java_8_will_use_tls for reference. 2) Are you using the Java or OpenSSL JNI providers? That java