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"
 />

转载于:https://www.cnblogs.com/kamil/p/5620085.html

你可能感兴趣的:(TLS版本)