Page 1 of 1

tls-auth tag in config file

Posted: Mon Nov 12, 2012 11:15 pm
by pgoose
Hello,

I'd like to include tls-auth content in openvpn config file like ca:

<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>

In my config tls-auth string looks like:
tls-auth ta.key 1

if I just include tls-auth tag
<tls-auth>
</tls-auth>
I get keys out of sync error. Is it possible to add tls-auth tag with 1?

Re: tls-auth tag in config file

Posted: Mon Nov 26, 2012 6:26 pm
by maikcat
hi there,

use this:

tls-auth [inline] 1


Michael.

Re: tls-auth tag in config file

Posted: Thu Nov 29, 2012 12:17 pm
by pgoose
Thanks! Works like a charm.

Re: tls-auth tag in config file

Posted: Thu Nov 29, 2012 12:55 pm
by maikcat
glad i helped you

closing topic

Michael.