CentOS7 OpenSSL升级安装openssl-1.1.1u

下载

https://www.openssl.org/source/openssl-1.1.1u.tar.gz

安装

tar -zxf openssl-1.1.1u.tar.gz
cd openssl-1.1.1u/
yum install -y gcc
./config --prefix=/usr/local/ssl shared  && make -j 8 && make install
mv /usr/bin/openssl /usr/bin/openssl.bak
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
cp libssl.so.1.1 /usr/lib64/
cp libcrypto.so.1.1 /usr/lib64/
openssl version

安装完成

版本查看

OpenSSL 1.1.1u  30 May 2023

 

参考:https://www.ihawo.com/archives/1588.html

posted @ 2023-07-07 12:00  JeromePowell  阅读(655)  评论(0编辑  收藏  举报