Upgrade OpenSSL for Linux-Linux Enterprise Application-Linux server application information. For more information, see. The default OpenSSL installed in RHEL4 is a little old, and the security report has defects. You need to upgrade it.
Upgrade procedure
0. First Use # openssl version? A. Check the OpenSSL version in the system.
1. Get the source code package 0.9.8g through # wget http://www.openssl.org/source/openssl-0.9.8g.tar.gz
2. Install openssl
# Tar? Xzvf openssl-0.9.8g.tar.gz
# Cd openssl-0.9.8g
#./Config shared zlib
# Make
# Make install
Mv/usr/bin/openssl. OFF
Mv/usr/include/openssl. OFF
Ln? S/usr/local/ssl/bin/openssl/usr/bin/openssl
Ln? S/usr/local/ssl/include/openssl/usr/include/openssl
3. Configure the library file search path
# Echo "/usr/local/ssl/lib">/etc/ld. so. conf
# Ldconfig? V
4. Check the openssl version to verify the installation.
# Openssl version? A
We can see that it is the newly installed version 0.9.8g.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.