iOS Missing/bad file : ca.crt : cannot op...

Post Reply
kraades
OpenVpn Newbie
Posts: 6
Joined: Fri Jan 18, 2013 9:16 pm

iOS Missing/bad file : ca.crt : cannot op...

Post by kraades » Fri Jan 18, 2013 9:26 pm

No iOS subforum, so I am posting here. Sorry for that.

OpenVPN running on Synology DS211.
Using the OpenVPN 1.0 build 47 iOS app.

How do I specify the certificate in de ovpn file?

From the ovpn file:

Code: Select all

ca ca.crt
But then you get the following error opening the ovpn file in the iOS app:

Code: Select all

Missing/bad file : ca.crt : cannot op...
The certificate is imported succesfully on the iPhone but that does not help.
(Visible in Settings, General, Profile as Trusted)

kraades
OpenVpn Newbie
Posts: 6
Joined: Fri Jan 18, 2013 9:16 pm

Re: iOS Missing/bad file : ca.crt : cannot op...

Post by kraades » Fri Jan 18, 2013 10:56 pm

Apparently you have to use iTunes...

post26858.html

HeikoGr
OpenVpn Newbie
Posts: 3
Joined: Mon Jan 21, 2013 8:08 am

Re: iOS Missing/bad file : ca.crt : cannot op...

Post by HeikoGr » Mon Jan 21, 2013 8:13 am

that's not right.
you can copy/paste the content of the crt file between html styled "ca" tags:
<ca>
CERT_FILE_CONTENT_COMES_HERE
</ca>

as it is described in the in-app-help :-D

Note: I had to remove the line "reneg-sec 0" in the openvpn.ovpn file exportet by the webmanager.

Post Reply