I know CentOS 5.x is old and EOL. But there are still servers running this version of CentOS. 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 on CentOS 5.x, 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!


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