New to group.
Do Only Good Everyday
I am trying to use OpenVPN on my IOS.
I get Failed to Parse profile
When compared to TincanTech expample I
Searched a bunch and only found a couple posts with similar info.
Here is my Openfile.
client
dev tun
proto udp
remote 73.243.75.11 12973
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
cipher AES-128-CBC
comp-lzo
verb 5
I tried Passepartout and got this message
the configuration file contains unsupported option (external file: "ca ca.crt"
Thanks in adavance
IOS: Failed to Parse Profile error. Ca.crt, client.crt client.key
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Jun 10, 2021 10:16 pm
-
- OpenVPN Protagonist
- Posts: 11142
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Feb 08, 2022 2:19 pm
Re: IOS: Failed to Parse Profile error. Ca.crt, client.crt client.key
In case someone stumbles into this issue.
you need to delete these entries in your client.ovpn file:
ca ca.crt
cert client.crt
key client.key
cheers
you need to delete these entries in your client.ovpn file:
ca ca.crt
cert client.crt
key client.key
cheers
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Jul 27, 2017 8:42 am
Re: IOS: Failed to Parse Profile error. Ca.crt, client.crt client.key
What worked for me is to include certificates in the .ovpn file.
to do so I copy pasted the text from certificates into ovpn file and delete links to the file certificates:
*no "inline" reference is needed
certificates should be in the end of the config:
to do so I copy pasted the text from certificates into ovpn file and delete links to the file certificates:
Code: Select all
ca ca.crt
cert client.crt
key client.key
certificates should be in the end of the config:
Code: Select all
<ca>
-----BEGIN CERTIFICATE-----
XXXXXXXXX
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
XXXXXXX
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
XXXXXXX
-----END RSA PRIVATE KEY-----
</key>
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Dec 20, 2022 8:39 am
Re: IOS: Failed to Parse Profile error. Ca.crt, client.crt client.key
Hi, thanks really a lot!!!!
taxelas wrote: ↑Mon May 09, 2022 9:46 pmWhat worked for me is to include certificates in the .ovpn file.
to do so I copy pasted the text from certificates into ovpn file and delete links to the file certificates:*no "inline" reference is neededCode: Select all
ca ca.crt cert client.crt key client.key
certificates should be in the end of the config:
Code: Select all
<ca> -----BEGIN CERTIFICATE----- XXXXXXXXX -----END CERTIFICATE----- </ca> <cert> -----BEGIN CERTIFICATE----- XXXXXXX -----END CERTIFICATE----- </cert> <key> -----BEGIN RSA PRIVATE KEY----- XXXXXXX -----END RSA PRIVATE KEY----- </key>