CentOS 5.x is old and EOL. But there are still lots of servers running this version.

I needed for a specific project to be able to run Apache + MOD_SSL on CentOS 5.x and enable TLS v1.2. Since I was not able to compile mod_ssl separately, I had to find another way.

Let’s start with Openssl-1.0.2a (you need to have compilers enabled and installed):

Compile Apache on CentOS 5.x in order to use a newer openssl version:

That’s it. You’re running the default Apache-2.2.3 version from CentOS 5.x but having the latest OpenSSL. Have fun!

Share.

About Author

I am a linux passionate and currently working as a Linux Senior System Administrator. I also am a freelancer and help people to complete different jobs. You can hire me on Freelancer.com

15 Comments

  1. Thanks for this – I’m seeing the same issue as Martin in that the BUILD directory is empty after the install of the src.rpm. There is a httpd-2.2.3.tar.gz in the SOURCES dir. I’ll extract that to BUILD and see what happens.

  2. This may help:

    In the second block on line 10: > needs to be > to redirect the output. I’m sure it;s just an HTML entitiy conversion issue with the post.

    On line 17 httpd.specific needs to be httpd.spec

Leave A Reply