Page 1 of 1

Preshared Key, Secret directive, Static key, version 1.0.1

Posted: Mon Jun 03, 2013 2:10 pm
by timjmorris
Reading around suggests that preshared key connection should be enabled in version 1.0.1. However, along with other users, creating a unified .ovpn file using the directive setenv CLIENT_CERT 0 and then embedding the static key with either <secret> or <tls-auth> tags still results in the PolarSSL error 'ca certificate is undefined'.
Is static key enabled in 1.0.1?

Re: Preshared Key, Secret directive, Static key, version 1.0

Posted: Tue Jun 04, 2013 8:55 am
by lolex
The manual of OpenVPN Connect says:
Static key encryption mode (non-TLS) is not supported
You can connect without a client certificate if the server doesn't ask for one by setting setenv CLIENT_CERT 0. But to my knowledge the server itself must present a certificate to the client.