Revert from custom openssl to standard

edvanleeuwen

Verified User
Joined
Nov 18, 2013
Messages
148
Some time ago I have installed a compiled version of openssl (1.1.1b) instead of standard Centos 7 version 1.0.2k. After experiencing some problems, I would like to revert to the standard version. This is what I have done.

Beware! This is not a cookbook, just the steps that worked for me.
Beware! Tampering manually with library files might have a large impact on your system. Be sure to be able to restore a previous snapshot/backup.


I have done:
- cd /usr/local/src/openssl-1.1.1b
- 'make uninstall'
- deleted /usr/local/openssl and /usr/local/src/openssl and /usr/local/include/openssl
- (re)installed openssl and openssl-devel and openssl-libs
- sudo ldconfig -v
- rm /usr/lib64/libcrypto.so.1.1
- rm /usr/lib64/libssl.so.1.1
- verify that libcrypto.so and libssl.so are links to the 1.0.2k version
- rm /usr/local/lib64/libcrypto.so.1.1
- rm /usr/local/lib64/libssl.so.1.1

I have left the 1.1 in /usr/local/lib, as yum stopped working.

To verify:
- ./build apache
- ldd apache | grep ssl
 
Last edited:
Back
Top