OpenVPN client TLS-Auth problem on Windows

It seems that the OpenVPN Client on windows does not support TLS-Auth with a separate key file. So instead, you can paste your key contents in your openvpn client’s config file and use some thing like the following (inline ta.key):

When not using the above but using something like:

The server log shows something like:

9 thoughts on “OpenVPN client TLS-Auth problem on Windows

  1. thanks for the solution. Yes I also had to use those tags to enclose the contents of ta.key like Maciej’s case

  2. Darn that was good!!! Hours and hours of troubleshooting: removing keys, rebuilding keys, reinstalling openvpn, changing directories, client setting, server setting the whole lot, just to be your solution. Thank you!

  3. THANK YOU! I’ve been spending hours trying to figure out this issue… solved it thanks to your post!

  4. Hi

    Thank you. This fixed the same problem when connecting to an OpenVPN server  on a QNAP (TS239-PRO II) with the client running on Ubuntu server.

  5. I confirm this solution as worked.

    Do not forget to put these lines:

    key-direction  0    (on server)

    key-direction  1   (on client)

     

    OpenVPN 2.3.11 (FreeBSD 10.3)

    Great post, thank you very much.

     

Leave a Reply

Your email address will not be published.