References :
- How to upgrade OpenSSL on Centos 7 or RHEL 7
- Some tests fail with OpenSSL 1.1.1c
- How to solve openssl error when loading shared libraries libssl.so.1.1
I tried to upgrade openssl version 1.0.2 to 1.1.1, but this might also work for a higher version
Note that the commands need to be run sequentially!
cd /usr/local/src
wget https://www.openssl.org/source/openssl-1.1.1h.tar.gz
tar -zxf openssl-1.1.1h.tar.gz
cd openssl-1.1.1h
./config
make
yum install perl-Test-Simple
make test
make install
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
openssl version
thx