0x01. 安装最新版 openssl
不多说,直接操作:
wget https://www.openssl.org/source/openssl-1.1.1c.tar.gz
tar zxvf openssl-1.1.1c.tar.gz
cd openssl-1.1.1c
./config --prefix=/usr/local/openssl
make && make install
# 备份旧版本openssl
mv -f /usr/bin/openssl /usr/bin/openssl.old
mv -f /usr/include/openssl /usr/include/openssl.old
# 修改软链接,使其指向新版本的openssl路径
ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl