1、wget https://www.openssl.org/source/openssl-3.0.13.tar.gz
2、tar -zxvf openssl-3.0.13.tar.gz
3、./config --prefix=/usr/local/openssl shared
4、make&make install
mv /usr/bin/openssl /usr/bin/openssl.old
mv /usr/include/openssl /usr/include/openssl.old
5、
ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/openssl/include/openssl /usr/include/openssl
6、echo "/usr/local/openssl/lib64" >> /etc/ld.so.conf
7、ldconfig -v
8、openssl version