Page 1 of 1

Are preshared secrets working?

Posted: Mon Feb 25, 2013 2:26 pm
by aha
Hello,

I use the following config file:

Code: Select all

client
dev-type tun 
ping 10 
ping-restart 60 
ifconfig 10.0.0.2 10.0.0.1
rport 1234
proto tcp 
remote myhostname 
<secret>
-----BEGIN OpenVPN Static key V1-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-----END OpenVPN Static key V1-----
</secret>
But it seems that unified config-files with preshared "secret" key are not working.
My Client said:
EVENT: CORE_ERROR
PolarSSL: error parsing ca certificate: X509 - The certificate format is invalid, e.g. different type expected [ERR]
Do I really have to use certificates?
Or is it possible with "secret" option too?

Re: Are preshared secrets working?

Posted: Mon Feb 25, 2013 5:26 pm
by jamesyonan
No, preshared keys and the "secret" directive are not yet supported in iOS client as of 1.0.0.

Re: Are preshared secrets working?

Posted: Thu Apr 11, 2013 2:58 pm
by attila2
Hello, do anybody know, if configuration with preshared keys will be supported in the next version???

Re: Are preshared secrets working?

Posted: Thu Jan 16, 2014 5:24 am
by deefster
It looks like the answer is still no as far as I can tell, but there is another android app (under the same name) in the play store that works great.