Install/Update openssl 1.1.0g

Ubuntu does not not have OpenSSL 1.1.0g installed by default so just  install/update OpenSSL 1.1.0g on Ubuntu 16.04.03 LTS as simple as that.

sudo -s
cd /usr/local/src

Download and extract openssl:

wget https://www.openssl.org/source/openssl-1.1.0g.tar.gz && tar xzvf openssl-1.1.0g.tar.gz && cd openssl-1.1.0g

Configure openssl

./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'

compile openssl:

make

and install openssl:

make install

Verify your openssl version:

openssl version

Your output should look like:

user@nextcloud:~# openssl version
OpenSSL 1.1.0g 2 Nov 2017

In previous releases it was neccessary to edit the ld.so.conf

vi /etc/ld.so.conf

then add

include /usr/local/openssl/lib

and finally run:

ldconfig

Now, you don’t need it anymore, you’re already fine.


Carsten Rieger

2 Replies to “Install/Update openssl 1.1.0g”

Leave a Reply

Your email address will not be published. Required fields are marked *