Install OpenSSL from the Source code.
Installing OpenSSL from the Source code :
First of all, Download the OpenSSL from the official website download page https://www.openssl.org/source/
1 2 3 4 |
tar zxf openssl-VERSION.tar.gz cd openssl-VERSION ./config [options] make make install |
This doesn’t update any of the information used by
dpkg -s openssl; that will still refer to the version installed as part of the OS installation.
Depending on what options you passed to
./config, it may also have overwritten the system’s
openssl files. I use
1 |
./config --prefix=/usr/local/apps/openssl-VERSION |
to avoid this. This installs the binaries in
/usr/local/apps/openssl-VERSION/bin, and so forth. You can use a path other than
/usr/local/apps, and you may have to create some of the directories before running
make install. You can use
--prefix=/usr/local to install directly to
/usr/local/bin,
/usr/local/lib, etc. If you don’t specify a prefix, it will default to
/usr/local/ssl.
But that doesn’t mean you haven’t installed it successfully, just that
dpkg won’t be able to tell you anything about your new installation.
Run
1 |
openssl version |
specifying the path to your new
openssl executable if necessary, to see what version you have.