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"
 />
posted @ 2016-06-27 14:27  侠之大者kamil  阅读(1702)  评论(0编辑  收藏  举报