PolarSSL read error x509

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
dazdylz
OpenVpn Newbie
Posts: 1
Joined: Fri Apr 03, 2015 12:24 pm

PolarSSL read error x509

Post by dazdylz » Fri Apr 03, 2015 12:41 pm

Hi,

I just setup my VPN Server on my raspberry pi, I have used this tutorial;

http://readwrite.com/2014/04/10/raspber ... b-browsing

and this one to create the ovpn file

http://readwrite.com/2014/04/11/buildin ... WBfWrt21bV

Now when I want to connect using the OpenVPN Connect app I get this error:

Image


My ovpn file looks like this:

Code: Select all

client 
dev tun
proto udp
remote x.x.x.x 1194
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ns-cert-type server
key-direction 1
cipher AES-128-CBC
comp-lzo
verb 1
mute 20
<cert>
-----BEGIN CERTIFICATE-----
MIIEHTCCA4a...yeeP0DfgBpXW
rA==
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE...D54F

cKsWIhxw86M3...O1HVlXjgA==
-----END RSA PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
14aa30aaf...752a3b4d7d1c8
-----END OpenVPN Static key V1-----
</tls-auth>
<ca>
-----BEGIN CERTIFICATE-----
MIID2jCCA...DUcg06xTb
-----END CERTIFICATE-----
</ca>
(yes I did find something that you need the <ca> block at the end of the file, but it is still not working)

So I found this topic:
topic17049.html

that was in 2013 and it should be fixed right? So why is it not working?

Phone details
Samsung Galaxy S4
Android 4.4.2

Can someone help me? Thanks!

Post Reply