1. Login as root and enter these commands:
2. cd /usr/local/src at shell prompt.
3. rm -rf openssl*
4. wget
http://www.openssl.org/source/openssl-0.9.8c.tar.gz
5. tar -zxvf openssl-0.9.8c.tar.gz
6. cd openssl*
7. ./config
8. make
9. make install
When it's done installing, do
openssl version
and make sure that your output is
OpenSSL 0.9.8c Sep 2006.
If not, contact support or log a ticket on the site.
Now we need to restart Apache and make sure that mod_ssl is using the latest version.
Do
/usr/local/apache/bin/apachectl stop
then
/usr/local/apache/bin/apachectl startssl.
Check to make sure your SSL on Apache is working on a site using an SSL certificate. NOT WHM or the cPanel PAGES.
::Added::
Now we need to add OpenSSL to the exclude list in yum.conf so that it doesn't get overwritten by the OS update during the nightly cPanel update:
1. Do
cd /etc
2. We need to edit yum.conf, do
pico yum.conf
or use your fav editor.
3. Change the "exclude=" line so that it has openssl* at the end. Don't forget there needs to be a space between each option on that line and include that asterik (*) on the end as well.
3a (added). You could also add mod_ssl to the exclude list if not their already, just in case this also causes an update of both.
4. Save and exit the editor, hit Ctrl-X and Y for pico users.