The latest stable version is the 1.1.0 series. The 1.0.2 series is our Long Term Support (LTS) release, supported until 31st December 2019. The 0.9.8, 1.0.0 and 1.0.1 versions are now out of support and should not be used.
Check the current openssl version.
Download openssl tarball file from official website.
Decompress and configure the package.
tar -zxf openssl-1.1.0h.tar.gz cd openssl-1.1.0h.tar.gz ./config
If everything goes well, you will see image blow, if not, please follow the instruction returned to solve the problems.
Make and install package. If you are using user privileges, make sure to use sudo.
make && make install
If everything goes well, the process will end without error msg.
The new openssl binary file is placed at
/usr/local/bin, so right now, there are two openssl binary files exist in the system.
current connection is still using the old version of openssl, even though
which command shows the new location of openssl.
All we have to do is re-login the server to fresh the connection.