Centos7加密漏洞修复

漏洞修复1、SSL Medium Strength Cipher Suites Supported (SWEET32) && TLS Version 1.0 Protocol Detection
动滑轮的支点以l为例2、HSTS Missing From HTTPS Server (RFC 6797)
以l为例需要去除http访问,redirect也不可以,只能使⽤https
3、SSH Weak Key Exchange Algorithms Enabled  && SSH Server CBC Mode Ciphers Enabled
3.1、打开ssh配置⽂件:
最后添加以下三⾏加密⽅式
3.2、重启sshd
3.3、如果报错Directive 'Ciphers' is not allowed within a Match blo
如果配置了如下两⾏,那就把需要添加的放到这个上⾯即可[entryPoints .https ]  address = ":443"    [entryPoints .https .tls ]      minVersion = "VersionTLS12"      cipherSuites = [        "TLS_ECDHE_RSA_
WITH_AES_128_GCM_SHA256",        "TLS_RSA_WITH_AES_256_GCM_SHA384"      ]
1
2资本主义生产方式
3
芙秀
4
5
6
7
8[entryPoints ]  #[entryPoints.http]  #address = ":80"  #  [direct]  #    entryPoint = "https"      #permanent = true  [entryPoints .https ]  address = ":443"    [entryPoints .https .tls ]      minVersion = "VersionTLS12"      cipherSuites = [        "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",        "TLS_RSA_WITH_AES_256_GCM_SHA384"      ]
1
2北京新钢联
3
4
5
6
述职报告格式7
曲率半径8
9
10
11
12
13
14vim /etc /ssh /sshd_config
1Ciphers  aes128-ctr ,aes192-ctr ,aes256-ctr ,arcfour256,arcfour128,arcfour Macs  hmac -sha1,hmac -ripemd160KexAlgorithms  curve25519-sha256,curve25519-sha256@libssh .org ,ecdh -sha2-nistp256,ecdh -sha2-nistp384,ecdh -sha2-nistp521,diffie -hellman -group
1
2
3systemctl restart sshd
1
3.4、ssh验证(可跳过)
3.5、nmap验证(可跳过)Subsystem  sftp internal -sftp Match  Group  sftp
1
2[root @localhost  ~]# ssh -vv -oCiphers=aes128-cbc,3des-cbc,blowfish-cbc  ⽬标IP [root @localhost  ~]# ssh -vv -oMACs=hmac-md5  ⽬标IP
1
2nmap --script ssh2-enum -algos -sV -p 22  ⽬标IP ......Unable  to negotiate with 127.0.0.1 port 22: no matching cipher found . Their  offer : aes128-ctr ,aes192-ctr ,aes256-ctr ,arcfour256,arcfour128,arcfour (1)
2
3
4

本文发布于:2024-09-22 04:12:08,感谢您对本站的认可!

本文链接:https://www.17tex.com/xueshu/20434.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:需要   添加   加密   漏洞   修复   述职
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议