1.
wget https://www.openssl.org/source/old/1.1.1/openssl-1.1.1w.tar.gz yum install -y zlib tar -zxvf openssl-1.1,1w.tar.gz cd openssl1.1.1 ./config --prefix=/usr/local/openssl111w make -j 2 make install
2.
mv /usr/bin/openssl /usr/bin/openssl-old ln -s /usr/local/openssl111w/bin/openssl /usr/bin/openssl
3.
openssl version #如果有so报错 ln -s /usr/local/openssl111w/lib/libssl.so.1.1 /usr/lib64/libssl.so.1.1 ln -s /usr/local/openssl111w/lib/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1
4.查看openssl 支持的算法
openssl help
本文为看恩吧原创文章,转载无需和我联系,但请注明来自knsay.com