First installed openssl and recompiled cd /usr/local/src wget https://www.openssl.org/source/openssl-1.0.2-latest.tar.gz # getting the openssl package tar -zxf openssl-1.0.2-latest.tar.gz # compiled and installed it. cd openssl-1.0.2a ./config make make test make install # moved old openssl and created openssl with symbolic link mv /usr/bin/openssl /root/ ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl