TLS版本

常见应用: https其实就是建构在SSL/TLS之上的 http协议。

1) setProtocol="TLS" will enable SSLv3 and TLSv1
2) setProtocol="TLSv1.2" will enable SSLv3, TLSv1, TLSv1.1 and TLS v1.2
3) setProtocol="TLSv1.1" will enable SSLv3, TLSv1, and TLSv1.1
4) setProtocol="TLSv1" will enable SSLv3 and TLSv1
5) setProtocol="SSL" will enable SSLv3 and TLSv1
6) setProtocol="SSLv3" will enable SSLv3 and TLSv1
7) setProtocol="SSLv2" won't work

tomcat 配置

<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLSv1.2"
keystore="/opt/salesforce/api/tomcat/vk_key/key.jks" keystorePass="password"
/>
上一篇:Java swing(awt):事件监听机制的实现原理+简单示例


下一篇:值得收藏 | 深度剖析 TensorCore 卷积算子实现原理