[root@hadoop ~]# wget https://www.openssl.org/source/openssl-1.1.1j.tar.gz
[root@hadoop ~]# tar -zxvf openssl-1.1.1j.tar.gz -C /root/
[root@hadoop ~]# cd /root/openssl-1.1.1j/
[root@hadoop ~]# ./config --prefix=/usr/local/ssl --shared
[root@hadoop ~]# make && make install
[root@hadoop ~]# mv /usr/include/openssl /usr/include/openssl.bak
[root@hadoop ~]# mv /usr/bin/openssl /usr/bin/openssl.bak
[root@hadoop ~]# ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
[root@hadoop ~]# ln -s /usr/local/ssl/include/openssl /usr/include/openssl
[root@hadoop ~]# echo "/usr/local/lib64/" >> /etc/ld.so.conf
[root@hadoop ~]# ldconfig
[root@hadoop ~]# openssl version
OpenSSL 1.1.1j 16 Feb 2021