January 12, 2023

Upgrade OpenSSL version on Ubuntu 16.04

sudo apt install make gcc+
wget https://www.openssl.org/source/old/1.1.1/openssl-1.1.1n.tar.gz --no-check-certificate
tar xzvf openssl-1.1.1n.tar.gz 
cd openssl-1.1.1n/
./config && make && sudo make install
openssl version

export LD_LIBRARY_PATH=/usr/local/lib/

Note: Please do not try to build openssl and/or haproxy on your own, unless you know what you are doing. I fear you probably already tried that, otherwise I can’t explain why you would have openssl 1.1.1d under Ubuntu Xenial.