Ios 16.5.1 and new OPENVPN beta, is my config file wrong?

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
scriiby
OpenVpn Newbie
Posts: 2
Joined: Tue Jun 27, 2023 7:32 am

Ios 16.5.1 and new OPENVPN beta, is my config file wrong?

Post by scriiby » Tue Jun 27, 2023 9:18 am

I'm trying to connect to a azure VPN but I keep getting this error:

Code: Select all

PKey::parse_pem: error in private key:: error:0909006C:PEM routines:get_name:no start line
the certs are self-signed and i think the problem may come from the certifications which I don't really know how to setup correctly to be honest.

Code: Select all

client
remote azuregateway*******************************
remote-cert-tls server

dev tun
proto tcp
resolv-retry infinite
nobind

auth SHA256
cipher AES-256-GCM
persist-key
persist-tun

tls-timeout 30
tls-version-min 1.2
key-direction 1

log openvpn.log
verb 3

# P2S CA root certificate
<ca>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</ca>

# Pre Shared Key
<tls-auth>
-----BEGIN OpenVPN Static key V1-----

-----END OpenVPN Static key V1-----
</tls-auth>

# P2S client certificate
# Please fill this field with a PEM formatted client certificate
# Alternatively, configure 'cert PATH_TO_CLIENT_CERT' to use input from a PEM certificate file.
<cert>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</cert>

# P2S client certificate private key
# Please fill this field with a PEM formatted private key of the client certificate.
# Alternatively, configure 'key PATH_TO_CLIENT_KEY' to use input from a PEM key file.
<key>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</key>

this is my config file with the certificates deleted obviously... any help is appreciated

leland.ballard
OpenVpn Newbie
Posts: 1
Joined: Tue Sep 12, 2023 2:50 pm

Re: Ios 16.5.1 and new OPENVPN beta, is my config file wrong?

Post by leland.ballard » Tue Sep 12, 2023 2:51 pm

Did you ever solve this? Having the same issue now as well with iOS. Thanks!

Post Reply