OPENSSL UPGRADE

Hi Support,

I am using openssl 0.9.8b. Now I want to upgrde the same as it is having vurnablities.
I have configured mod_ssl & Apache which is live.

How I can upgrade openssl version without affecting my application
My Centos version is 5.2
laxmileelaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

unSpawnCommented:
>How I can upgrade openssl version without affecting my application
Strictly speaking that does not compute: if the library version in use is vulnerable then you would *want* an upgrade to affect your application, right?

If you mean that you do not want to suffer application downtime, and the service does not support reloading libraries on say kill -HUP, then generally speaking you could duplicate whatever the service consists of so you can run a second instance, upgrade the library, redirect traffic and start the second instance, restart the original instance and remove the traffic redirect, then kill the second instance.

The way you run your second instance depends on your resources. If you managed to configure and run loadbalancing/failover then you would already know what to do. If you run all services on one machine you could run the second instance on a different port and redirect traffic using iptables rules.
* With respect to application downtime: session replication is not taken into account here: please consult your product documents.
0
laxmileelaAuthor Commented:
Ok then tell me
How I can upgrade my openssl. Is there anything to change in my application side.

Please give me the full detail & steps
0
unSpawnCommented:
If this concerns a production machine you should assess if you need to run the install on a staging machine or testbed before proceeding. You should assess if you need to make backups before proceeding. You should preferably access updates through Yum. If Yum doesn't provide any OpenSSL updates later than openssl-0.9.8b, download the RPM or try 'rpm --test -i ftp://ftp.sunet.se/pub/os/Linux/distributions/centos/5.3/os/i386/CentOS/openssl-0.9.8e-7.el5.i686.rpm'. The "--test" switch will let you go through the motions so you can assess if it will or will not install. Then a restart of the webserver (make certain all threads get killed off) should show if it recognizes the new libraries.

There's other ways like rebuilding the .src.rpm or lesser preferred ways like building from tarball but let's see you give feedback on RPM test install.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.