OpenVPN

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....

OpenVPN

Postby peter_b » Tue Feb 28, 2017 6:53 pm

[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 ;)
  • 0

User avatar
peter_b
Chatterbox
 
Posts: 308
Joined: Tue Nov 12, 2013 2:05 am
Reputation: 3

Return to Knowledge Base

Who is online

Users browsing this forum: No registered users and 3 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: No registered users and 11 guests

Reputation System ©'