How to upgrade OpenSSL on Centos

1. Introduction

OpenSSL is a library that provides cryptographic functionality, specifically SSL/TLS for popular applications such as secure web servers, databases and applications. The list parameters standard-commands, digest-commands, and cipher-commands output a list (one entry per line) of the names of all standard commands, message digest commands, or cipher commands, respectively, that are available in the present openssl utility.

2. Requirements

You may need an operating system   or   in your dedicated. Please make sure to set a hostname for your and its dns is pointing to the address of the .

3. Installation

Get the current version with “openssl version” and “ info openssl” :

# openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013

You can also check the available version in the vendors directory too.

# yum info openssl

To the latest version of OpenSSL, do as follows:

# cd /usr/local/src
# wget
#  -zxf openssl-1.0.2l..gz

To manually compile OpenSSL and /upgrade OpenSSL, do as follows:

# cd openssl-1.0.2l
# ./config
# make
# make test
# make install

If the old version is still displayed or installed before, please make a copy of openssl bin file :

# mv /usr/bin/openssl /root/
# ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl

Now verify the OpenSSL version.

# openssl version
OpenSSL 1.0.2l 25 May 2017

Note: Compiling Openssl major version may case issues with other system binaries. So please do the needfull to avoid the corruptions.

Print Friendly, PDF & Email



Bài viết liên quan

Be the first to comment

Để lại lời nhắn