Step 1) Check latest version, and download archive by below URL.
https://www.openssl.org/source/$ wget https://www.openssl.org/source/openssl-1.1.1j.tar.gz
Step 2) Extract Archive file and move into directory
$ tar -zxf openssl-1.1.1j.tar.gz
$ cd openssl-1.1.1j/
$ ./config
Step 3) Install make and gcc command. (if already installed so ignore it)
$ sudo apt install make gcc
$ make
$ make test
Step 4) Backup current openssl binary
$ sudo mv /usr/bin/openssl ~/tmp
$ sudo make install
Step 5) Create symbolic link from newly install binary to the default location
$ sudo ln -s /usr/local/bin/openssl /usr/bin/openssl
Step 5) Run the command sudo ldconfig to update symlinks and rebuild the library cache
$ sudo ldconfig
Step 6) Finally check the OpenSSL version
$ openssl version
No comments:
Post a Comment
testing