our server needs 2 passwords, one for the user account, one for the embedded server certificate.
client.ovpn
1
client
2
dev tun
3
remote server 1194
4
proto udp
5
resolv-retry infinite
6
auth-retry none
7
auth-user-pass
8
nobind
9
persist-key
10
persist-tun
11
ecdh-curve secp521r1
12
auth SHA512
13
cipher AES-256-GCM
14
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384
15
remote-cert-tls server
16
mute-replay-warnings
17
explicit-exit-notify 1
18
verb 3
19
mute 20
20
reneg-sec 0
21
<ca>
22
--STRIPPED INLINE CA CERT--
23
</ca>
24
<tls-crypt>
25
-----BEGIN OpenVPN Static key V1-----
26
-----END OpenVPN Static key V1-----
27
</tls-crypt>
28
<key>
29
--STRIPPED INLINE KEY--
30
</key>
31
<cert>
32
--STRIPPED INLINE CERT--
33
</cert>
After importing the configuration via safari (and copy it to ovpn), use app will ask for a user and password. After that the connection throws an error like
Code: Select all
mbed TLS: error parsing config private key : PK - Given private key password does not allow for correct decryption [ERR]