CentOS6.5的openssl升级

CentOS6.5的openssl升级:(修复心脏漏血漏洞)

[root@linux1 ~]# rpm -qi openssl|grep Version
Version : 1.0.1e Vendor: CentOS

openssl升级:
OpenSSL 需要更新至1.0.2g或1.0.1s
yum update "openssl*" #没有更新版本

使用源码安装openssl:
wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz
tar xf openssl-1.0.1g.tar.gz
cd openssl-1.0.1g
./config
make
make install

替换原来的openssl:
find / -name openssl
mv /usr/bin/openssl /usr/bin/openssl.bak
cp /root/openssl-1.0.1g/apps/openssl /usr/bin/
openssl version
OpenSSL 1.0.1g 7 Apr 2014

检测工具检测:
[root@linux1 ~]# rkhunter -c -sk
Checking version of OpenSSL [ OK ]
Checking version of OpenSSH [ OK ]

上一篇:从MyEclipse转战到IntelliJ IDEA的经历


下一篇:K8S之集群搭建