Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
IOS OpenVPN import failure
« previous
next »
Print
Pages: [
1
]
Author
Topic: IOS OpenVPN import failure (Read 4695 times)
Darkknight
Newbie
Posts: 1
Karma: 0
IOS OpenVPN import failure
«
on:
June 08, 2021, 10:48:52 pm »
Hi,
I've been trying for a few days to get OpenVPN connect to establish a connection with my OPNSense server. The single file export feature does not seem to be creating a ovpn file that is completely compatible with IOS 14. Using the client export wizard, I email myself the file and import it to OpenVPN connect, where by it fails.
Initially it fails with 'Err CA not defined'. I installed the CA cert from OPNsense into IOS and then enabled it separately through settings as indicated in the german posts about this issue from last year. int he english forum someone mentioned that I needed to include the CA cert in the ovpn file using <ca>crt</ca>. I downloaded the public cert for the CA created through the wizard and pasted the key into the ovpn file and imported that. Now I'm getting tls_process_server_certificate:certificate verify failed. Maybe the key is in the wrong format? Honestly have no idea. Someone else mentioned using OpenSSL to transform the key, but it's not clear if I need to do that, or why this whole process is such a pain in the first place.
This is my 3rd attempt full from scratch to get this to work and there is a problem here I'm not understanding.
If you guys have some suggestions on how to resolve this, I would appreciate it.
Logged
Dakhor
Newbie
Posts: 3
Karma: 0
Re: IOS OpenVPN import failure
«
Reply #1 on:
June 15, 2021, 01:01:00 pm »
I have the same issue.
I recently moved from pfSense (where this is very easy to do) to OPNsense to "play" around with some of OPNsense features like Zerotier plugin and Sensei NGFW.
I would also appreciate any "guide" on how to ad IOS devices to a OPNsense OpenVPN Server
Cheers
DaC
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: IOS OpenVPN import failure
«
Reply #2 on:
June 15, 2021, 01:13:07 pm »
Well, there are the docs:
https://docs.opnsense.org/manual/how-tos/sslvpn_client.html
Logged
Dakhor
Newbie
Posts: 3
Karma: 0
Re: IOS OpenVPN import failure
«
Reply #3 on:
June 15, 2021, 06:36:38 pm »
Yes of course and following this guide does not work for IOS as the app states some garbled error message. OSX and Windows works no problem.
Cheers
DaC
Logged
hloiter
Newbie
Posts: 36
Karma: 2
Re: IOS OpenVPN import failure
«
Reply #4 on:
June 15, 2021, 07:00:15 pm »
With this guide I was able to successfully set it up for my iOS clients ....
https://homenetworkguy.com/how-to/configure-openvpn-opnsense/
Cheers
hloiter
Logged
Dakhor
Newbie
Posts: 3
Karma: 0
Re: IOS OpenVPN import failure
«
Reply #5 on:
June 18, 2021, 11:43:50 am »
Just to report I got it working now - I have no idea why it didnt work before, it must have been user error.
I simply used the export client feature with settings set to
file only
that resulted in a .ovpn config file that I sent to my iPhone and used it in the OpenVPN app - entered user name and password and it worked just fine.
Be sure to select to export the client / user name at the bottom of page not the "server" one.
Cheers
DaC
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
IOS OpenVPN import failure