linux 服务器 升级OpenSSL
备注
以前的,将就用一下,后面再继续研究
基本信息
官网:https://www.openssl.org/source/
漏洞:https://www.openssl.org/news/secadv/
腾讯云-主机安全:https://console.cloud.tencent.com/cwp
升级OpenSSL
https://www.cnblogs.com/itbsl/p/11275728.html
https://blog.csdn.net/qq_42177284/article/details/104984707
openssl version
OpenSSL 1.0.2k-fips 26 Jan 2017
find / -name openssl
/usr/local/openssl
cd /usr/local/src
wget https://www.openssl.org/source/openssl-1.1.1l.tar.gz
tar -xzvf openssl-1.1.1l.tar.gz
cd openssl-1.1.1l
./config --prefix=/usr/local/openssl
make && make install
mv /usr/bin/openssl /usr/bin/openssl.bak
ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl
openssl version
解决报错
openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
原文:https://blog.csdn.net/weixin_43296326/article/details/88680329
find / -name libssl.so.1.1
/usr/local/openssl/lib/libssl.so.1.1
ln -s /usr/local/openssl/lib/libssl.so.1.1 /usr/lib64/libssl.so.1.1
ln -s /usr/local/openssl/lib/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1
openssl version