So I was trying to upgrade openssl and decided to remove the existing openssl packages because it was from a different repository.
Once removed, I can't no longer get either yum or wget to work again because they all seem to rely on ssl
I'm missing the files
I was able to recover
libssl.so.10 by using
libssl3.so that existed locally, but not with
libcrypto.so.10 yet (since this file probably need to be downloaded from a remote location).
The error leading to this problem was: libcrypto.so.10: cannot open shared object file: No such file or directory
wget: error while loading shared libraries: libcrypto.so.10:
In other words, I'm now in a catch-22; I can't use
rpm (with url), or
rsync (by connecting to a backup server instance) because they all require ssl lib files.
I can't even open a new SSH to the problematic server since SSL lib files is now gone. (can only access with existing Putty prompt).
I try "copy and paste" the file content with VIM editor using another snapshot backup but doesn't seem working.
I'm thinking if there is a way to download a rpm or even a single file over plain http using existing tools not listed above...