Are preshared secrets working?

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
aha
OpenVpn Newbie
Posts: 2
Joined: Mon Feb 25, 2013 2:15 pm

Are preshared secrets working?

Post by aha » Mon Feb 25, 2013 2:26 pm

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?

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: Are preshared secrets working?

Post by jamesyonan » Mon Feb 25, 2013 5:26 pm

No, preshared keys and the "secret" directive are not yet supported in iOS client as of 1.0.0.

attila2
OpenVpn Newbie
Posts: 1
Joined: Thu Apr 11, 2013 2:54 pm

Re: Are preshared secrets working?

Post by attila2 » Thu Apr 11, 2013 2:58 pm

Hello, do anybody know, if configuration with preshared keys will be supported in the next version???

deefster
OpenVpn Newbie
Posts: 1
Joined: Thu Jan 16, 2014 5:22 am

Re: Are preshared secrets working?

Post by deefster » Thu Jan 16, 2014 5:24 am

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.

Post Reply