I get the same Error, too.
I tryed different types of options in the client and server config, but nothing funktions.
The Server is running well without problems. The cert/keys are good, running well on my desktop pc (debian7).
- - OpenVPN Connect 1.1.15 (build 62)
- OpenVPN core 3.0.3 android armv7a thumb2 32-bit
- Samsung Galaxy S3 (GT-I9300)
- CyanogenMod Version: (11-20140830-NIGHTLY-i9300)
- Android Version: 4.4.4
- Kernel-Version: 3.0.101-CM Boeffla-Kernel-2.3a
- Rooted: Yes
Here is my Client Config:
Did i make some mistakes with the tls-auth or some hardening funktions?
On a basic test setup (with small keysize (1024)), without hardening and so on, it worked great...
But i can't figure out which option is breaking my setup now...
client
proto udp
dev tun
remote REMOTE_IP 1194
resolv-retry infinite
nobind
auth-nocache
persist-key
persist-tun
mute-replay-warnings
ns-cert-type server
user nobody
group nogroup
reneg-sec 0
auth SHA512
cipher AES-256-CBC
comp-lzo
verb 3
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
...
-----END ENCRYPTED PRIVATE KEY-----
</key>
key-direction 1
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
...
-----END OpenVPN Static key V1-----
</tls-auth>
Here is the OpenVPN Connect Log File
-- ----- OpenVPN Start -----
-- EVENT: CORE_THREAD_ACTIVE
-- EVENT: CORE_THREAD_ERROR
info='PolarSSL: error parsing config private key : PK - Bad input parameters to function'
-- EVENT: CORE_THREAD_INACTIVE
-- Tunnel bytes per CPU second: 0
-- -----OpenVPN Stop -----
--EVENT: