Page 1 of 1

OpenVPN

Posted: Tue Feb 28, 2017 6:53 pm
by peter_b
[PROBLEM]
Trying to set up a simple two-peer VPN connection using OpenVPN's static key example.
When trying to connect the client, I get the following error message:
Tue Feb 28 14:33:59 2017 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
Tue Feb 28 14:33:59 2017 library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
Tue Feb 28 14:33:59 2017 Footer text not found in file '/home/username/Documents/static.key' (256/128/256 bytes found/min/max)
Tue Feb 28 14:33:59 2017 Exiting due to fatal error
[SOLUTION]
The key's footer must look like this:
-----END OpenVPN Static key V1-----
In my case the last "-" was missing. I only had 4 dashes, but it takes 5.

Copy/paste error ;)