In this article, we will explain how to install OpenSSL 1.1.1 on your hosting account.
This kind of installation is necessary in many circumstances. For example, you may have difficulty deploying a Python application due to an outdated OpenSSL component.
What is Open SSL?
You could say that OpenSSL is a kind of encryption toolbox.
It includes :
- a library for general cryptography;
- a second library to implement the SSL protocol; and
- a command line.
How to Proceed
Here is how to install OpenSSL manually.
Step 1 — Login
Connect to the terminal of the N0C hosting account (how).
Step 2 — Executing Commands
Run the following commands:
wget [https://www.openssl.org/source/openssl-1.1.1g.tar.gz] tar zxvf openssl-1.1.1g.tar.gz cd openssl-1.1.1g * ** *** ****for the next order, replace USER with the username of your N0C account **** ./config --prefix=/home/USER/openssl --openssldir=/home/USER/openssl no-ssl2 make make test make install cd nano .bash_profile (**** be sure to replace USER with the username of your N0C account ****) export PATH=$HOME/openssl/bin:$PATH export LD_LIBRARY_PATH=$HOME/openssl/lib export LC_ALL="en_US.UTF-8" export LDFLAGS="-L /home/USER/openssl/lib -Wl,-rpath,/home/USER/openssl/lib" source .bash_profile
Step 3 — Validation
Finally, check that everything is OK by entering the command:
openssl version
This command should return the following:
[xwmqkdmy@nodels31-eu ~]$ openssl version
OpenSSL 1.1.1g 21 Apr 2020