Disable SSLv3

Preparation:
Before start, you can check:
- whether your domain supports SSLv3 at https://www.ssllabs.com/ssltest/analyze.html
- whether your browser supports SSLv3 at https://www.ssllabs.com/ssltest/viewMyClient.html
 
Solutions:
To disable SSLv3 in Tomcat, you need to:
Open CATALINA_HOME/conf/server.xml and modify the corresponding connectors.
For example, I have a connector like this:
    <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true" 
        maxThreads="150" scheme="https" secure="true" 
        clientAuth="false" sslProtocol="TLS"
        keystoreFile="conf/sslCertificate/tomcat13.keystore" keystorePass="cas24MEGA"
    />
Delete sslProtocol="TLS" and add sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" to disable SSLv3. When sslProtocol="TLS", all TLS and SSL versions are enabled. "sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"" means only TLSv1,TLSv1.1 and TLSv1.2 are enabled, which can indirectly disable SSLv3.
It is worth to search more information about SSLv3, POODLE and TLS_FALLBACK_SCSV to understand why it is necessary to disable SSLv3, when we should disble it and its alternatives.
 
Note: 
(1) The attribute name in the connector is sslEnabledProtocols not sslProtocol or sslProtocols or SSLProtocol, etc.
 

转载于:https://www.cnblogs.com/skyssky/p/4210302.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值