升级openssl
OpenSSL升级
安装Python3.10,自带的openssl1.0已经不受支持了,这里记录下安装过程
1. 查看当前版本
openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
2. 安装
yum -y remove openssl
wget https://www.openssl.org/source/openssl-1.1.1p.tar.gz
tar -xvf openssl-1.1.1p.tar.gz
cd openssl-1.1.1p
./config --prefix=/usr/local/openssl
make && make install
alternatives --install /usr/bin/openssl openssl /usr/local/openssl/bin/openssl 1
3. 动态链接库
echo "/usr/local/openssl/lib" >> /etc/ld.so.conf
ldconfig
4. 查看新安装的openssl
[root@dev-app-01 Python-3.10.5]# openssl version
OpenSSL 1.1.1p 21 Jun 2022 (Library: OpenSSL 1.1.1k FIPS 25 Mar 2021)