Select a certificate in OpenVPN Connect

Post Reply
tox
OpenVpn Newbie
Posts: 3
Joined: Tue Jul 09, 2013 2:32 pm
Location: Sweden

Select a certificate in OpenVPN Connect

Post by tox » Tue Jul 09, 2013 2:49 pm

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

tox
OpenVpn Newbie
Posts: 3
Joined: Tue Jul 09, 2013 2:32 pm
Location: Sweden

Re: Select a certificate in OpenVPN Connect

Post by tox » Wed Jul 10, 2013 7:06 pm

Anyone else with this issue?

hiro5id
OpenVpn Newbie
Posts: 1
Joined: Sat Jul 27, 2013 6:58 am

Re: Select a certificate in OpenVPN Connect

Post by hiro5id » Sat Jul 27, 2013 7:00 am

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.

shardphoenix
OpenVpn Newbie
Posts: 3
Joined: Fri Aug 09, 2013 3:58 pm

Re: Select a certificate in OpenVPN Connect

Post by shardphoenix » Fri Aug 09, 2013 4:26 pm

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.

temporaer
OpenVpn Newbie
Posts: 2
Joined: Mon Aug 12, 2013 7:37 pm

Re: Select a certificate in OpenVPN Connect

Post by temporaer » Mon Aug 12, 2013 7:43 pm

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

emanymton
OpenVpn Newbie
Posts: 1
Joined: Tue Nov 06, 2018 9:12 pm

Re: Select a certificate in OpenVPN Connect

Post by emanymton » Tue Nov 06, 2018 9:12 pm

thank dude , u save my life

Post Reply