当前位置:网站首页>How to disable SSLv3 in Apache
How to disable SSLv3 in Apache
2022-07-18 04:44:00 【Beauty of operation and [email&】
How to be in Apache disable sslv3
The original is from WeChat official account. : Beauty of operation and maintenance , An official account of a rising posture. !
Preface :SSLv3 Loophole (CVE-2014-3566),SSL3.0 Version is considered unsafe . It USES RC4 Encryption or CBC Mode encryption , The former is vulnerable to deviation attacks , The latter can lead to POODLE attack , In the production environment , This vulnerability is often scanned , For this vulnerability , need apache Server side deactivation SSLv3 agreement .
One 、 Environmental preparation
understand SSL and TLS:http In the process of data transmission, plaintext is used , To solve this problem https emerge as the times require ,ssl Is based on https Encryption protocol for . When ssl Update to 3.0 After version ,IETF( Internet Engineering Task Force ) Yes ssl3.0 Standardized , The standardized agreement is TLS1.0, So TLS yes SSL The product of standardization ,TLS The current is 1.0 ,1.1,1.2 Three versions , By default 1.0, Here we are ssl and TLS With a basic understanding .
- web Server support TLS1.2 The required server running environment :
Apache The corresponding version should >=2.2.23;
OpenSSL The corresponding version should >= 1.0.1
- View the current server apache edition
[[email protected] conf.d]# httpd -v
Server version: Apache/2.4.29 (Unix)
Server built: Jan 22 2018 16:51:25
- openssl edition
[[email protected] conf.d]# openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
Two 、 Environmental rectification
Test domain names with security vulnerabilities , As follows sslv3 Access can return information normally , An attacker may use this vulnerability to compromise the system .
[[email protected] conf.d]# curl --sslv3 https://cs.df230.xyz/test/api/configs/fedch/all
{
"overdue" : false,
"success" : true,
"errorCode" : null,
"message" : " The request is successful ",
"data" : {
"global" : {
"copyright" : " Feature list ",
}
apache The default support SSLv3,TLSv1,TLSv1.1,TLSv1.2 agreement
( notes :ssl The function needs to be in http.conf Enable LoadModule ssl_module modules/mod_ssl.so)
apache The default configuration is as follows
SSLProtocol All -SSLv2
Entry directory /usr/local/apache/conf/extra
vi modify ssl.conf Follow the configuration below , The purpose is to close sslv3 agreement
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLProtocol TLSv1.2
After the configuration is saved , need service httpd restart restart apache Make configuration effective
The test again sslv3 visit , cannot access
[[email protected] conf.d]# curl --sslv3 https://cs.df230.xyz/test/api/configs/fedch/al
curl: (35) SSL connect error
adopt google browser F12 Enter development mode , You can see how the browser accesses the current domain name ssl Agreement for TLS1.2.

thus , Vulnerability rectification completed ,so easy!
More articles , Please follow the WeChat public account “ Beauty of operation and maintenance ”!
版权声明
本文为[Beauty of operation and [email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/199/202207151439516636.html
边栏推荐
猜你喜欢

面试官:抽象工厂模式是什么?
![[detailed tutorial] a thorough article on mongodb aggregation query](/img/31/e0b7267edd4026ddb73773c9e1bbd0.png)
[detailed tutorial] a thorough article on mongodb aggregation query

Start of u-boot S analysis (I)

2022.07.11

sentinel1.8.4 持久化nacos配置

Implementing DDD based on ABP -- aggregation and aggregation root practice

博客园美化教程

A solution to the failure of NVIDIA SMI command

【SpaceNet】SN6:Multi-Sensor All-Weather Mapping

Redis集群长时间连接不上问题Sending CLUSTER MEET messages to join the cluster Waiting for the cluster to join
随机推荐
1301_ Two ways to add serial port monitoring function to the development board
生成VOC数据集的xml文件
基于ABP实现DDD--聚合和聚合根实践
创建一个list,依次添加字符串“a”,“b”,”c” ,“ d“,“ d”并打印集合中的内容,再移除 list中所有的字符串“d”,再次打印其内容
WPS关闭烦人广告
一种新的UI测试方法:视觉感知测试
【SQL注入】堆叠注入
Pat grade a a1004 counting leaves
博客园美化教程
EN 1158建筑五金件门协调装置—CE认证
C#静态方法和非静态方法
Pat grade a a1079 total sales of supply chain
C语言基础知识(自用)
Generate XML file of VOC dataset
Data Lake (XVII): Flink and iceberg integrate datastream API operations
Create a list, add the strings "a", "B", "C", "d" and "d" in turn, and print the contents of the set, then remove all the strings "d" in the list, and print its contents again
剑指Offer16-数值的整数次方-位运算
graphsage模型使用photo数据集loss计算为nan
dnssec-verification-with-dig【使用dig验证dnssec】
LeNet