环境
- Centos7 8G
- tomcat7
nessus漏扫修复
12085 - Apache Tomcat Servlet / JSP Container Default Files
- 删除tomcat/webapps/下example、doc、manager,(ROOT保留,内部只留下自定义的404页面)
35291 - SSL Certificate Signed Using Weak Hashing Algorithm
42873 - SSL Medium Strength Cipher Suites Supported
20007 - SSL Version 2 and 3 Protocol Detection
https证书签名算法强度不够,默认生成的是1024位,需要升级为2048, 指定Cipher,禁用ssl2.0 ssl3.0
证书制作参考HTTPSS证书制作笔记
注意:需要指定证书长度:
keytool -genkeypair -alias server -keyalg RSA -keysize 2048 -sigalg SHA256withRSA -validity 3650 -keypass 123456 -storepass 123456 -keystore server.keystore`
修改
server.xml,指定keystoreFile、truststoreFile、sslProtocol、sslEnabledProtocols

最低0.47元/天 解锁文章
3367

被折叠的 条评论
为什么被折叠?



