嘟嘟社区

centos7安装openssl 3.3.1版本


本帖最后由 Perfwiki 于 2024-7-2 19:11 编辑

sudo yum install epel-release

yum search openssl

sudo yum install openssl11

export PATH=/usr/local/ssl/bin: $PATH #去掉空格
export LD_LIBRARY_PATH=/usr/local/ssl/lib

openssl version

更新:修改了标题,重新把命令贴上
sudo su
cd /usr/src
wget https://www.openssl.org/source/openssl-3.3.1.tar.gz
tar zxvf openssl-3.3.1.tar.gz
cd openssl-3.0.2
./Configure
make
make install

if you have an old version of OpenSSL installed, you may have to do:

cd /usr/lib/ssl
unlink openssl.cnf
ln -s /usr/local/ssl/openssl.cnf openssl.cnf
ldconfig
openssl version

111已经在去年EOL了,别再舀屎了
7.2p1根本不受影响