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 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

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 ld.so.conf

sudo -s 
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