Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure "no tls auth payload in config" #27

Closed
whohoho opened this issue Mar 28, 2020 · 0 comments · Fixed by #30
Closed

Failure "no tls auth payload in config" #27

whohoho opened this issue Mar 28, 2020 · 0 comments · Fixed by #30

Comments

@whohoho
Copy link
Contributor

whohoho commented Mar 28, 2020

openvpn-client-lwt client1.cfg
openvpn-client-lwt: [WARNING] IGNORING "status" "openvpn-status.log"
openvpn-client-lwt: [WARNING] IGNORING "dh" "dh2048.pem"
openvpn-client-lwt: [WARNING] IGNORING "status" "openvpn-status.log"
openvpn-client-lwt: [WARNING] IGNORING "dh" "dh2048.pem"
openvpn-client-lwt: [WARNING] keepalive 10 120 overrides former ping interval 10
openvpn-client-lwt: [ERROR] client construction failed no tls auth payload in config
openvpn_client: internal error, uncaught exception:
(Failure "no tls auth payload in config")
Raised at file "src/core/lwt.ml", line 3027, characters 20-29
Called from file "src/unix/lwt_main.ml", line 27, characters 10-20
Called from file "src/unix/lwt_main.ml", line 114, characters 8-13
Re-raised at file "src/unix/lwt_main.ml", line 120, characters 4-13
Called from file "cmdliner_term.ml", line 25, characters 19-24
Called from file "cmdliner.ml", line 33, characters 27-34
Called from file "cmdliner.ml", line 117, characters 32-39

config:
auth-user-pass userpass.txt
tls-client
dev tun
persist-key
persist-tun
topology subnet
#port 1194
remote localhost 1195
proto udp
keepalive 10 120
ca ca.public.certificate
cert client1.public.certificate
key client1.secret.key
#user ovpn
#group ovpn
#auth SHA512
tls-version-min 1.2
#tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256
#ncp-ciphers AES-256-GCM:AES-256-CBC
status openvpn-status.log
#log /var/log/openvpn-assym.log
verb 3
dh dh2048.pem

tls-client
dev tun
persist-key
persist-tun
topology subnet
#port 1194
remote localhost 1194
proto udp
keepalive 10 120
ca ca.public.certificate
cert client1.public.certificate
key client1.secret.key
#user ovpn
#group ovpn
#auth SHA512
tls-version-min 1.2
#tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256
#ncp-ciphers AES-256-GCM:AES-256-CBC
status openvpn-status.log
#log /var/log/openvpn-assym.log
verb 3
dh dh2048.pem
pull

cfcs pushed a commit that referenced this issue Mar 28, 2020
hannesm added a commit that referenced this issue Mar 28, 2020
Allow trailing whitespace in tls-auth blocks (#27)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant