= Working with OpenSER TLS Support on Redhat Fedora Core 5 = RedHat FC5 ships with '''openssl-0.9.8a''', which somehow is not compatible with OpenSER. This small article will give you step by step guide to downgrade OpenSSL to '''openssl-0.9.7f''' which works with OpenSER, while trying to maintain compatibility with the rest of FC5 applications that depends on the original '''openssl-0.9.8a'''. == Warning (Really, You Should Read This!) == I'm no OpenSSL or OpenSER expert, and what I do here simply is a workaround to make OpenSER works on RedHat FC5. Messing around with OpenSSL installation on your box is '''really''' dangerous, as you may be unable to reconnect to your box with SSH and you may not able to use '''rpm''' since '''rpm''' depends on OpenSSL libraries. Because of this, you really don't want to do this on a production box. == Step by Step == Step by step: 1. Create a directory for working with this process: {{{ #> cd /root #> mkdir ssl #> cd ssl }}} 1. Make a copy of your existing OpenSSL libraries. This is not just a mere safety precautions, but it's crucial to do since rpm will stop working after openssl is uninstalled: {{{ #> mkdir bak #> cp -a /lib/libssl* bak/ #> cp -a /lib/libcrypto* bak/ }}} 1. Download openssl-0.9.7 and openssl-devel-0.9.7 {{{ #> wget http://www.mirror.ac.uk/mirror/fedora.redhat.com/4/i386/os/Fedora/RPMS/openssl-0.9.7f-7.i386.rpm #> wget http://www.mirror.ac.uk/mirror/fedora.redhat.com/4/i386/os/Fedora/RPMS/openssl-devel-0.9.7f-7.i386.rpm }}} 1. Now remove openssl and openssl-devel RPM: {{{ #> rpm --erase openssl-devel --nodeps #> rpm --erase openssl --nodeps }}} 1. By this time, rpm will not work since it depends on openssl. So lets bring it up again: {{{ #> export LD_LIBRARY_PATH=./bak }}} 1. Verify that openssl has really been cleaned up: {{{ #> rpm --erase openssl-devel --nodeps #> rpm --erase openssl --nodeps }}} 1. Delete SSL left-overs in {{{/lib}}} direcctory: {{{ #> rm -f /lib/libssl* #> rm -f /lib/libcrypto* }}} 1. Install the openssl RPMs that we downloaded earlier: {{{ #> rpm --install openssl* }}} 1. Re-install {{{libssl.so.6}}} to make existing applications work again: {{{ #> cp bak/libssl.so.0.9.8a /lib/libssl.so.6 #> cp bak/libcrypto.so.0.9.8a /lib/libcrypto.so.6 }}} 1. Recompile and reinstall OpenSER 1. Verify that existing applications that depend on OpenSSL still works. For example: {{{ #> ssh localhost }}}