Page 1 of 1

[Solved] Select a certificate in OpenVPN Connect

Posted: Tue Jul 09, 2013 2:49 pm
by tox
Hi,

Have a problem, i`ve tried to connect with OpenVPN on my iPhone 5 but after importing the profile i still need to select a certificate in the app, when i tap the select button it says "No certificates are present"

My VPN provider gave me 2 files for download that i used to import the profile with iTunes,
1. provider.ovpn
2. provider.ca.crt

I simply dragged & dropped the files (at the same time) into the file sharing window in iTunes like it was suggested in the guide but maybe i didn`t do it the right way?..

I'm going on vacation next week so I really need to set this up on my iPhone before that, if anyone can help me point out what I `m doing wrong, I would appreciate it.
Thanks

Re: Select a certificate in OpenVPN Connect

Posted: Wed Jul 10, 2013 7:06 pm
by tox
Anyone else with this issue?

Re: Select a certificate in OpenVPN Connect

Posted: Sat Jul 27, 2013 7:00 am
by hiro5id
I have the same problem. I am connecting to PfSense firewall using OpenVPN tunnel. It works with windows OpenVpn client, but the same profile does not work on the iPhone client. For some reason it keeps asking for a client certificate.

Re: Select a certificate in OpenVPN Connect

Posted: Fri Aug 09, 2013 4:26 pm
by shardphoenix
Same issue here.
I used iTunes to copy two files (openvpn.ovpn & ca.crt) through the openvpn folder on my ipad.
As soon as I do this I see a profile on my iPad (which is a good thing :).

Now I am able to enter my username and password but the line certificate says:
"Certificate - Select a certificate... (required)"

If I select it, it says:
"No certificates are present in the Keychain".

Question:
1. Am I missing a file? - I think no!
2. Do I need to copy the content from ca.crt to the .ovpn file? - I think no because using iTunes the ca.crt file is already on the iPad
3. Do I need to add <cert> </cert> to the .ovpn file? - I tried this using the same text as in the .crt file but with no succes.

Re: Select a certificate in OpenVPN Connect

Posted: Mon Aug 12, 2013 7:43 pm
by temporaer
Hey everyone,

ended up here because I had the exact same problem than you.
After continuing to read the complete help page of the app I found the answer we were all looking for:

If you don't have a client certificate file and according to your profile you don't need one, just add the following line to the end of your profile (open the .ovpn file with a texteditor):

setenv CLIENT_CERT 0

after transferring the modified file to my ipad everything worked as expected - no need to choose certificate anymore.

Hope it works,

cheers

Re: Select a certificate in OpenVPN Connect

Posted: Tue Nov 06, 2018 9:12 pm
by emanymton
thank dude , u save my life

Re: Select a certificate in OpenVPN Connect

Posted: Mon Nov 04, 2019 5:06 am
by ernsmith
temporaer wrote:
Mon Aug 12, 2013 7:43 pm


setenv CLIENT_CERT 0

Thanks this helped me a lot :)