openssl 升级

wget https://www.openssl.org/source/openssl-1.1.1q.tar.gz --no-check-certificate
tar xzvf openssl-1.1.1q.tar.gz
cd openssl-1.1.1q/
 ./config --prefix=/usr/local/openssl-1.1.1q --shared
make && make install
mv /usr/bin/openssl /usr/bin/openssl.bak
mv /usr/include/openssl /usr/include/openssl.bak
ln -s /usr/local/openssl-1.1.1q/bin/openssl /usr/bin/openssl
ln -s /usr/local/openssl-1.1.1q/include/openssl /usr/include/openssl
echo "/usr/local/openssl-1.1.1q/lib">>/etc/ld.so.conf
ldconfig