Upgrade openssl in Ubuntu and CentOS

Upgrade OpenSSL in Ubuntu and CentOS

OpenSSL
Heartbleed

Hope you know about openssl heartbleed bug. Don't know about, no problem go through it http://heartbleed.com/ . The point here is you should upgrade your openssl. Because of this bug all linux variants release the patch for openssl. Here the steps for upgrade openssl both ubuntu and centos.

How to find I am using affected version...?

In ubuntu:

Run this command

openssl version -a

There you can find "built on" date. If that date is older than Apr 7. Then you are using older version. You should upgrade your version.

OpenSSL 1.0.1 14 Mar 2012
built on: Wed Jan 8 20:45:51 UTC 2014

In CentOS:

Same as above.

Open SSL Old
Version

How to upgrade openssl..?

In Ubuntu:

sudo apt-get update
sudo apt-get install libssl1.0.0 openssl -y

In CentOS:

sudo yum update
sudo yum update openssl -y

How to check am I upgarded..?

openssl version -a | grep built

OpenSSL New
Version

The date should greater than or equal to Apr 7.

Hey..!!! you are done. Happy secure linuxing... 😄

Show Comments
\