OpenVPN

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 331
Joined: Tue Nov 12, 2013 2:05 am

OpenVPN

Post 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 ;)
Post Reply