Openssl & amp; quot; Heartbleed vulnerability upgrade method

Source: Internet
Author: User
Tags openssl version

Search openssl heatbleed on the Internet to view tens of thousands of related content. Not only is online banking affected, but many security links encrypted through openssl have certain risks. Therefore, it is best to upgrade all its openssl as soon as possible.

For example, the openssl version of The Redhat system is 0.9.8, and non-registered users cannot automatically upgrade to the latest version 1.0.1g through yum.

However, we can use the source code for manual updates without the need to uninstall the original openssl.

The procedure is as follows:

Wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz
Tar-xzvf openssl-1.0.1e.tar.gz
Cd openssl-1.0.1e
./Config shared zlib -- prefix =/usr/local/openssl

Make

Make install

# Backup old openssl
Mv/usr/bin/openssl. OFF

# Backup old openssl include
Mv/usr/include/openssl. OFF

# Link new openssl
Ln-s/usr/local/openssl/bin/openssl/usr/bin/openssl
Ln-s/usr/local/openssl/include/openssl/usr/include/openssl
Echo "/usr/local/openssl/lib">/etc/ld. so. conf
Ldconfig-v
Openssl version

In this way, you don't have to worry about uninstalling the associated software to easily solve the "heartbleed" vulnerability.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.