- Open a terminal (Ctrl+Alt+t).
- Fetch the tarball:
wget https://www.openssl.org/source/openssl-1.1.1a.tar.gz - Unpack the tarball with
tar -zxf openssl-1.1.1a.tar.gz && cd openssl-1.1.1a - Issue the command
./config. - Issue the command
make(You may need to runsudo apt install make gccbefore running this command successfully). - Run
make testto check for possible errors. - Backup current openssl binary:
sudo mv /usr/bin/openssl ~/tmp - Issue the command
sudo make install. - Create symbolic link from newly install binary to the default location:
sudo ln -s /usr/local/bin/openssl /usr/bin/openssl - Run the command
sudo ldconfigto update symlinks and rebuild the library cache.
Assuming that there were no errors in executing steps 4 through 10, you should have successfully installed the new version of OpenSSL.
Again, from the terminal issue the command:
openssl version
Your output should be as follows:
OpenSSL 1.1.1a 20 Nov 2018



