Problem with Certificate

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
jakoozie
OpenVpn Newbie
Posts: 4
Joined: Sat Dec 07, 2013 10:04 am

Problem with Certificate

Post by jakoozie » Sat Dec 07, 2013 10:13 am

Hey,

I recently buy a new iPhone 5S and I have a VPN (.ovpn and .crt) and I sent that files to my mail and open in OpenVPN and it says something like that "Certificate is missing or damaged" and I make iTunes method and now it says "No certificates are present in the keychain)
What I do?

Thanks!!!

redradioflyer
OpenVPN User
Posts: 25
Joined: Mon Jul 08, 2013 7:00 am

Re: Problem with Certificate

Post by redradioflyer » Mon Dec 09, 2013 11:46 pm

The easiest way to get around that problem is to combine the cert with your .opvn file. The disadvantage of using this method is that your cert is in your .opvn file as plain text (so I wouldn't recommend emailing it).

To add your cert to your .opvn file remove the line --cert from the client .opvn and add the following:

<cert>
---XXX
...
</cert>

Where
"---XXX
..."
Is the plain text of your cert.
I also recommend doing the same for you --CA (<ca>), --key (<key>), and --TLS-Auth (if used <tls-auth>).

jakoozie
OpenVpn Newbie
Posts: 4
Joined: Sat Dec 07, 2013 10:04 am

Re: Problem with Certificate

Post by jakoozie » Mon Dec 23, 2013 12:43 am

Hey,
I been waiting for update that support A7 processors, and I have the same issues. I sent my .crt and .ovpn for my email and open with OpenVPN and it says "No certificates are present in the Keychain", I put the .crt and .ovpn for the OpenVPN app by the iTunes and it says the same I open .crt on Text Edit on Mac and copy all for the .ovpn I delete the line "ca ca.crt" and put <ca> dasdasdadada </ca> and says the same :c

Code: Select all

client
dev tun
proto udp
remote 192...... xxxx # - Your server IP and OpenVPN Port
resolv-retry infinite
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
<ca>
-----BEGIN CERTIFICATE-----
MIID0TCCAzqgAwIBAgIJAJPLSi8....
-----END CERTIFICATE-----
</ca>
auth-user-pass
comp-lzo
reneg-sec 0
verb 3
What am I doing wrong?
Thanks!!

lolex
OpenVPN Power User
Posts: 52
Joined: Sun Jun 05, 2011 7:50 pm

Re: Problem with Certificate

Post by lolex » Sun Dec 29, 2013 4:15 am

jakoozie wrote: What am I doing wrong?
Thanks!!
Nothing, I think. OpenVPN was working on both an iPhone 5 and iPad 3; the latter continues to work fine, but the former, after an upgrade from iOS 6 (Jailbreak) to iOS 7 (Jailbreak), doesn't recognize the certificate either inline or separate. Maybe it's the JB, but apparently the latest versions of OpenVPN are causing any number of problems.

Post Reply