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 && apt install gcc make -y

Download and extract openssl:

wget && tar xzvf openssl-1.1.0g.tar.gz && cd openssl-1.1.0g

Configure openssl

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

compile openssl:


and install openssl:

make install

Reboot your server

shutdown -r now

and 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

sudo -s 
vi /etc/

then add

include /usr/local/openssl/lib

and finally run:


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

Carsten Rieger