Hello guys,
I actually fixed this by using custom options during configure stage, I'll write down my full steps below:
First I did a basic
apt-get install openvpn
and all the other packages (lzo, libssl, ...) (also got easy-rsa from GitHub)
Then I downloaded the source files (.tar.gz) of both OpenVPN and OpenSSL using wget (this is located in /usr/src for me):
wget https://www.openssl.org/source/openssl-1.0.2.tar.gz
wget http://swupdate.openvpn.org/community/releases/openvpn-2.3.6.tar.gz
First I ./config & make & make install for OpenSSL.
After that was done, I ran the following ./configure options for OpenVPN:
./configure --enable-password-save OPENSSL_SSL_LIBS="-L/usr/src/openssl-1.0.2/ -lssl" OPENSSL_SSL_CFLAGS="-I/usr/src/openssl-1.0.2/include/" OPENSSL_CRYPTO_LIBS="-L/usr/src/openssl-1.0.2/ -lcrypto" OPENSSL_CRYPTO_CFLAGS="-I/usr/src/openssl-1.0.2/include/"
After this was done, I edited the file
/etc/init.d/openvpn and made a change to redirect the location of the daemon in order to use my compiled OpenVPN daemon:
DAEMON=/usr/sbin/openvpn
TO
DAEMON=/usr/local/sbin/openvpn
After this, I ran my server again with the following output:
library versions: OpenSSL 1.0.2 22 Jan 2015, LZO 2.06
And that was it.
Please not I'm using Debian 7.x on Raspberry Pi 2, so I'm not sure how this would work out on other systems.
Againcelow