Ubuntu – How to ugrade to openssl 1.0.2 within ubuntu 14.04 LTS

opensslUbuntu

I need to upgrade Openssl to 1.0.2 to get a certain feature. This worked following this tutorial http://www.miguelvallejo.com/updating-to-openssl-1-0-2g-on-ubuntu-server-12-04-14-04-lts-to-stop-cve-2016-0800-drown-attack/ However, HAProxy for example is still built with the old openssl version and thus does not support the ssl feature I need

How do I upgrade without compiling? I tried apt-get update and upgrade and also dist-upgrade. All that did not bring me to version 1.0.2

Best Answer

As mentioned here, this openssl 1.0.2 is supported till 31st December, 2019

  1. Download source from https://www.openssl.org/source/openssl-1.0.2n.tar.gz
  2. Extract it to a folder
  3. Go to the extracted folder and use the following command

    sudo ./config && sudo make && sudo make install
    
  4. It will take some time to install

  5. Link the newly installed openssl

    sudo ln -sf /usr/local/ssl/bin/openssl `which openssl`
    
  6. Check the version and make sure that it is installed.

    openssl version -v