Centos5 OpenSSL 1.0.1 install

Okay, so i have a few servers, that i got centos5 on them. I know i know i should update them, but since they are quite a few of them and nothing is wrong with Centos5 just yet, except for the fact that it’s going to be EOL soon, i am still doing work on them.

I need to use the SPDY protocol with nginx on these boxes, so naturally, i need openssl 1.0+. Since Centos5 comes by default with openssl 0.9.8, ¬†this is rather tricky to do without breaking other stuff on the server. Luckily, the guys at Axivo¬† did an amazing job, and i hope they will keep the repo for Centos5 alive as it’s still pretty damn useful, so here it goes:

First, add the axivo rpm for centos5:

rpm -ivh –nosignature¬†http://rpm.axivo.com/redhat/axivo-release-5-1.noarch.rpm

Make sure the 64bit version of openssl is installed, and remove all that i686 crap, we’re in 2014. For safety, just make sure you’re not using something in the list you’re presented for removal:

yum remove openssl.i686

Update openssl to 1.0.1

yum –enablerepo=axivo update openssl

Done!

One Response to “Centos5 OpenSSL 1.0.1 install”

  1. Trung Ly says:

    That is the most terrible idea ever. Removing openssl gets rid of a lot of packages including. Then you will be unable to install anything else. Moreover, ssh server is removed too. You will access to the box soon.

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge