Skip to content

Instantly share code, notes, and snippets.

@budiantoip
Last active July 8, 2024 11:33
Show Gist options
  • Save budiantoip/38e427d1f8f9958bdbfdcb5692c93859 to your computer and use it in GitHub Desktop.
Save budiantoip/38e427d1f8f9958bdbfdcb5692c93859 to your computer and use it in GitHub Desktop.
Upgrade OpenSSL on CentOS 7

References :

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
@MrGuoRanDuo
Copy link

thx

@budiantoip
Copy link
Author

thx

You're welcome.

@fernandoaleman
Copy link

Thank you @budiantoip. This was very helpful πŸ‘

@budiantoip
Copy link
Author

Thank you @budiantoip. This was very helpful πŸ‘

You're welcome πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment