yum -y install gcc gcc-c++ autoconf automake libtool make cmake
yum -y install zlib zlib-devel openssl openssl-devel pcre-devel
wget https://www.openssl.org/source/openssl-1.1.1.tar.gz
tar -xzf openssl-1.1.1.tar.gz
cd openssl-1.1.1
mkdir /usr/local/openssl
./config --prefix=/usr/local --openssldir=/usr/local/ssl
make -j && make install -j
./config shared --prefix=/usr/local --openssldir=/usr/local/ssl
make clean
make -j && make install -j
ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1
ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1
which openssl
openssl version -a
https://blog.csdn.net/skymanwww/article/details/62436858
https://blog.csdn.net/ydyang1126/article/details/72902113
yum install openssl
yum update openssl