I might be deprecated in the future, but it still is not deprecated. So why not revert it back and help the customers now. After that, they would have enough time to implement the new api. Depreciation of api’s is typically not done in dot releases like 11.3. So it probably won’t be deprecated until iOS 12..ahx-fos wrote: ↑Tue Jan 09, 2018 4:09 pmI suspect the API is being deprecated hence the change to the new public one being required. I'll check my Apple Developer notes later today and see what I can find out, but I strongly suspect that's the reason.Can't you just revert to using the old API, which worked? Because the API itself has not changed, only the OpenVPN client
Regardless though, this was communicated terribly! This critical change isn't even in the damn initial release notes within the AppStore! (which I note this morning have now been fully updated - too late now unfortunately.)
It clearly wasn't QA'ed. If it was, the QA Director needs to be made redundant after this shambles. This is possibly one of the worst App upgrades I have witnessed in 10 years of iOS development.Also, why was this issue not found during Q/A?
Upgrade to OpenVPN 1.2.5 (iOS): issues
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Jan 09, 2018 3:54 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Jan 09, 2018 6:34 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): 1.2.5 is broken - OnDemandEnabled
Have had a working iOS configuration profile with connect on demand for a while. Unfortunately, the upgrade to version 1.2.5 completely broke. Looks like it has no access to the bundled certificates in the keychain 

-
- OpenVPN User
- Posts: 20
- Joined: Mon Jun 30, 2014 11:04 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
Please note our company is offline now too. Put in our vote to roll back the app to the previous version as suggested in a another thread.
Looks like a lot of unhappy companies out there.
Looks like a lot of unhappy companies out there.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Jan 09, 2018 6:41 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
Common guys, We have big problems now in our MDM solution which is based on the OpenVPN connection. Rolling out a new client based on version 1.1.1 seems the best quick win. That way a lot of users are helped soon. Than take some time to take a deep dive in the problems with the new Apple API.mvonk wrote: ↑Tue Jan 09, 2018 6:30 pmI might be deprecated in the future, but it still is not deprecated. So why not revert it back and help the customers now. After that, they would have enough time to implement the new api. Depreciation of api’s is typically not done in dot releases like 11.3. So it probably won’t be deprecated until iOS 12..ahx-fos wrote: ↑Tue Jan 09, 2018 4:09 pmI suspect the API is being deprecated hence the change to the new public one being required. I'll check my Apple Developer notes later today and see what I can find out, but I strongly suspect that's the reason.Can't you just revert to using the old API, which worked? Because the API itself has not changed, only the OpenVPN client
Regardless though, this was communicated terribly! This critical change isn't even in the damn initial release notes within the AppStore! (which I note this morning have now been fully updated - too late now unfortunately.)
It clearly wasn't QA'ed. If it was, the QA Director needs to be made redundant after this shambles. This is possibly one of the worst App upgrades I have witnessed in 10 years of iOS development.Also, why was this issue not found during Q/A?
An other option would be to release version 1.1.1 as an unsigned IPA for download. That way we could distribute the client ourself through MDM. Than we have a workaround until the problem with the API is solved.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Jan 09, 2018 3:54 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
With some many different bugs and a shitload of people registering to this forum just for this update, this does indeed seem like the best choice. Fix the bugs later, now focus on getting it to work as before.iPhrankie wrote: ↑Tue Jan 09, 2018 6:48 pmPlease note our company is offline now too. Put in our vote to roll back the app to the previous version as suggested in a another thread.
Looks like a lot of unhappy companies out there.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Mon Jan 08, 2018 10:24 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
Completely agree with you! Dear developers, please just do this. If some people want something new for their new iOS let them waitanatoli wrote: ↑Tue Jan 09, 2018 5:46 pmVersion 1.2.6 with the code from 1.1.1 seems like THE solution for all the problem at this time. Trying to fix all the problems now would take a lot of time and the fixes made in a hurry could introduce new problems themselves. The situation is rather critical.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Mon Jan 08, 2018 9:55 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
I did import the ovpn12 cert/key bundle and I do see it where you reference. For adding a client config via an ovpn file directly, things work fine. My issue is that I'm adding the client config via a mobileconfig profile with Connect On Demand, and it simply fails to connect immediately, and there is absolutely nothing in the OpenVPN Connect log (nor is there anything on the VPN server side). I'm assuming at this point that it's related to the cert/key, but without any log, I can't tell anything.ordex wrote: ↑Tue Jan 09, 2018 2:24 pmafter importing the profile, if it is missing the cert/key entries, the app will show a line called "Certificated" right above the status. If you click that line, it will open the certificate list.agelwarg wrote: ↑Tue Jan 09, 2018 11:44 amI had a working mobileconfig deployed profile with connect on demand. After upgrading to 1.2.5, that stopped working. I followed the instructions to separately add my p12 cert via an .ovpn12 extension, and now I can see the cert in the OpenVPN app. However, it still won't connect and I see no logs (on either side). I'm not sure where / how I am supposed to reference this certificate in the (openvpn connect) config because I had previously bundled the cert along with the config when building the mobileconfig profile through the Apple Configurator AND selected it.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Jan 09, 2018 3:54 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
I am afraid nothing will come soon. There is a statement here: https://docs.openvpn.net/openvpn-connec ... os-issues/
They will be bug-fixing instead of reverting back to the old codebase.
To be honest, I find the statement pretty uninformed. For example: "The latest version of OpenVPN Connect for iOS, version 1.2.5, works with the new API in iOS called Network Extensions."
The Network Extensions framework has been introduced in iOS 8 (2014!) and the new VPN capabilities in iOS 9. This is not a new API, but apparently new to OpenVPN developers. Guess they also could not release of new version of the App, because Apple disallowed the old methods / APIs in apps already summer of last year...
They will be bug-fixing instead of reverting back to the old codebase.
To be honest, I find the statement pretty uninformed. For example: "The latest version of OpenVPN Connect for iOS, version 1.2.5, works with the new API in iOS called Network Extensions."
The Network Extensions framework has been introduced in iOS 8 (2014!) and the new VPN capabilities in iOS 9. This is not a new API, but apparently new to OpenVPN developers. Guess they also could not release of new version of the App, because Apple disallowed the old methods / APIs in apps already summer of last year...
-
- OpenVpn Newbie
- Posts: 15
- Joined: Sat Oct 15, 2016 9:18 am
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
Hi,
iOS 11.2.1 here on iPhone 8, OpenVPN has become fully unusable since the update.
I simply use a .ovpn file profile and enter my password to connect. since the update, I can connect, the connection works for 10 to 30 seconds then drops off... while OpenVPN still seems to run fine and iOS displays the VPN logo at the top. For example, WhatsApp displays "connecting" forever after sending one or two messages, Safari does not display pages anymore, etc. All I have to do is disconnect the VPN.
The logs are pasted below but don't seem to show any issue. Maybe you can find something in the config which is not compatible with the new client anymore.
iOS 11.2.1 here on iPhone 8, OpenVPN has become fully unusable since the update.
I simply use a .ovpn file profile and enter my password to connect. since the update, I can connect, the connection works for 10 to 30 seconds then drops off... while OpenVPN still seems to run fine and iOS displays the VPN logo at the top. For example, WhatsApp displays "connecting" forever after sending one or two messages, Safari does not display pages anymore, etc. All I have to do is disconnect the VPN.
The logs are pasted below but don't seem to show any issue. Maybe you can find something in the config which is not compatible with the new client anymore.
Code: Select all
2018-01-09 20:57:00 ----- OpenVPN Start -----
OpenVPN core 3.1.2 ios arm64 64-bit built on Jan 5 2018 23:09:59
2018-01-09 20:57:00 Frame=512/2048/512 mssfix-ctrl=1250
2018-01-09 20:57:00 UNUSED OPTIONS
4 [resolv-retry] [infinite]
5 [nobind]
6 [persist-key]
7 [persist-tun]
11 [verify-x509-name] [pivpn] [name]
15 [verb] [1]
2018-01-09 20:57:00 EVENT: RESOLVE
2018-01-09 20:57:00 Contacting [176.175.x.x]:443/TCP via TCP
2018-01-09 20:57:00 EVENT: WAIT
2018-01-09 20:57:00 Connecting to [my.dns]:443 (176.175.x.x) via TCPv4
2018-01-09 20:57:00 EVENT: CONNECTING
2018-01-09 20:57:00 Tunnel Options:V4,dev-type tun,link-mtu 1572,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA256,keysize 256,tls-auth,key-method 2,tls-client
2018-01-09 20:57:00 Creds: UsernameEmpty/PasswordEmpty
2018-01-09 20:57:00 Peer Info:
IV_GUI_VER=net.openvpn.connect.ios 1.2.5-1
IV_VER=3.1.2
IV_PLAT=ios
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
IV_LZO=1
IV_AUTO_SESS=1
2018-01-09 20:57:01 VERIFY OK : depth=1
cert. version : 3
serial number : 81:60:47:9B:34:D1:58:54
issuer name : C=CO, ST=ST, L=CITY, O=ORG, OU=ORG-UNIT, CN=COMMON-NAME, ??=NAME, emailAddress=EMAIL
subject name : C=CO, ST=ST, L=CITY, O=ORG, OU=ORG-UNIT, CN=COMMON-NAME, ??=NAME, emailAddress=EMAIL
issued on : 2016-08-31 09:24:11
expires on : 2026-08-29 09:24:11
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
2018-01-09 20:57:01 VERIFY OK : depth=0
cert. version : 3
serial number : 01
issuer name : C=CO, ST=ST, L=CITY, O=ORG, OU=ORG-UNIT, CN=COMMON-NAME, ??=NAME, emailAddress=EMAIL
subject name : C=FR, ST=IDF, L=Paris, O=xxxx, OU=PiVPN, CN=pivpn, ??=EasyRSA, emailAddress=me@myhost.mydomain
issued on : 20xx-08-31 09:24:14
expires on : 20xx-08-29 09:24:14
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=false
subject alt name : pivpn
cert. type : SSL Server
key usage : Digital Signature, Key Encipherment
ext key usage : TLS Web Server Authentication
2018-01-09 20:57:02 SSL Handshake: TLSv1.2/TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
2018-01-09 20:57:02 Session is ACTIVE
2018-01-09 20:57:02 EVENT: GET_CONFIG
2018-01-09 20:57:02 Sending PUSH_REQUEST to server...
2018-01-09 20:57:02 OPTIONS:
0 [route] [10.8.0.1] [255.255.255.255]
1 [route] [10.8.0.0] [255.255.255.0]
2 [route] [192.168.x.x] [255.255.255.0]
3 [dhcp-option] [DNS] [208.67.222.222]
4 [dhcp-option] [DNS] [208.67.220.220]
5 [redirect-gateway] [def1]
6 [route] [10.8.0.0] [255.255.255.0]
7 [topology] [net30]
8 [ping] [10]
9 [ping-restart] [120]
10 [ifconfig] [10.8.0.6] [10.8.0.5]
2018-01-09 20:57:02 PROTOCOL OPTIONS:
cipher: AES-256-CBC
digest: SHA256
compress: LZO
peer ID: -1
2018-01-09 20:57:02 EVENT: ASSIGN_IP
2018-01-09 20:57:02 NIP: preparing TUN network settings
2018-01-09 20:57:02 NIP: init TUN network settings with endpoint: 176.175.x.x
2018-01-09 20:57:02 NIP: adding IPv4 address to network settings 10.8.0.6/255.255.255.252
2018-01-09 20:57:02 NIP: adding (included) IPv4 route 10.8.0.1/32
2018-01-09 20:57:02 NIP: adding (included) IPv4 route 10.8.0.0/24
2018-01-09 20:57:02 NIP: adding (included) IPv4 route 10.8.0.0/24
2018-01-09 20:57:02 NIP: redirecting all IPv4 traffic to TUN interface
2018-01-09 20:57:02 NIP: adding DNS 208.67.222.222
2018-01-09 20:57:02 NIP: adding DNS 208.67.220.220
2018-01-09 20:57:02 Connected via NetworkExtensionTUN
2018-01-09 20:57:02 LZO-ASYM init swap=0 asym=0
2018-01-09 20:57:02 EVENT: CONNECTED @my.dns:443 (176.175.x.x) via /TCPv4 on NetworkExtensionTUN/10.8.0.6/ gw=[/]
<Worked fine for maybe 1 minute... then I disconnected manually from the app.>
2018-01-09 21:01:03 Raw stats on disconnect:
BYTES_IN : 9700911
BYTES_OUT : 1399992
PACKETS_IN : 6418
PACKETS_OUT : 9153
TUN_BYTES_IN : 904069
TUN_BYTES_OUT : 8984158
TUN_PACKETS_IN : 9854
TUN_PACKETS_OUT : 11044
TCP_OVERFLOW : 684
2018-01-09 21:01:03 Performance stats on disconnect:
CPU usage (microseconds): 2412132
Tunnel compression ratio (uplink): 1.54855
Tunnel compression ratio (downlink): 1.07978
Network bytes per CPU second: 4602112
Tunnel bytes per CPU second: 4099372
2018-01-09 21:01:03 EVENT: DISCONNECTED
-
- OpenVpn Newbie
- Posts: 17
- Joined: Sat Jun 25, 2016 10:20 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
This is a lesson in how to completely stuff up an application upgrade and then how NOT to react to it.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Mon Jan 08, 2018 10:24 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
I downgraded to the 1.1.1 build 212 - works brilliant!!! Now I'll switch off the automatic updates and I'll never update this app anymore
-
- OpenVpn Newbie
- Posts: 7
- Joined: Mon Jan 08, 2018 10:24 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
I had just the same on my iPad 4 with iOS 9.3.4. Absolutely impossible to use because of continuous disconnects ((((( I decided to downgrade to 1.1.1 - works perfect!Ozwel wrote: ↑Tue Jan 09, 2018 8:12 pmHi,
iOS 11.2.1 here on iPhone 8, OpenVPN has become fully unusable since the update.
I simply use a .ovpn file profile and enter my password to connect. since the update, I can connect, the connection works for 10 to 30 seconds then drops off... while OpenVPN still seems to run fine and iOS displays the VPN logo at the top. For example, WhatsApp displays "connecting" forever after sending one or two messages, Safari does not display pages anymore, etc. All I have to do is disconnect the VPN.
The logs are pasted below but don't seem to show any issue. Maybe you can find something in the config which is not compatible with the new client anymore.
Code: Select all
2018-01-09 20:57:00 ----- OpenVPN Start ----- OpenVPN core 3.1.2 ios arm64 64-bit built on Jan 5 2018 23:09:59 2018-01-09 20:57:00 Frame=512/2048/512 mssfix-ctrl=1250 2018-01-09 20:57:00 UNUSED OPTIONS 4 [resolv-retry] [infinite] 5 [nobind] 6 [persist-key] 7 [persist-tun] 11 [verify-x509-name] [pivpn] [name] 15 [verb] [1] 2018-01-09 20:57:00 EVENT: RESOLVE 2018-01-09 20:57:00 Contacting [176.175.x.x]:443/TCP via TCP 2018-01-09 20:57:00 EVENT: WAIT 2018-01-09 20:57:00 Connecting to [my.dns]:443 (176.175.x.x) via TCPv4 2018-01-09 20:57:00 EVENT: CONNECTING 2018-01-09 20:57:00 Tunnel Options:V4,dev-type tun,link-mtu 1572,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA256,keysize 256,tls-auth,key-method 2,tls-client 2018-01-09 20:57:00 Creds: UsernameEmpty/PasswordEmpty 2018-01-09 20:57:00 Peer Info: IV_GUI_VER=net.openvpn.connect.ios 1.2.5-1 IV_VER=3.1.2 IV_PLAT=ios IV_NCP=2 IV_TCPNL=1 IV_PROTO=2 IV_LZO=1 IV_AUTO_SESS=1 2018-01-09 20:57:01 VERIFY OK : depth=1 cert. version : 3 serial number : 81:60:47:9B:34:D1:58:54 issuer name : C=CO, ST=ST, L=CITY, O=ORG, OU=ORG-UNIT, CN=COMMON-NAME, ??=NAME, emailAddress=EMAIL subject name : C=CO, ST=ST, L=CITY, O=ORG, OU=ORG-UNIT, CN=COMMON-NAME, ??=NAME, emailAddress=EMAIL issued on : 2016-08-31 09:24:11 expires on : 2026-08-29 09:24:11 signed using : RSA with SHA-256 RSA key size : 2048 bits basic constraints : CA=true 2018-01-09 20:57:01 VERIFY OK : depth=0 cert. version : 3 serial number : 01 issuer name : C=CO, ST=ST, L=CITY, O=ORG, OU=ORG-UNIT, CN=COMMON-NAME, ??=NAME, emailAddress=EMAIL subject name : C=FR, ST=IDF, L=Paris, O=xxxx, OU=PiVPN, CN=pivpn, ??=EasyRSA, emailAddress=me@myhost.mydomain issued on : 20xx-08-31 09:24:14 expires on : 20xx-08-29 09:24:14 signed using : RSA with SHA-256 RSA key size : 2048 bits basic constraints : CA=false subject alt name : pivpn cert. type : SSL Server key usage : Digital Signature, Key Encipherment ext key usage : TLS Web Server Authentication 2018-01-09 20:57:02 SSL Handshake: TLSv1.2/TLS-DHE-RSA-WITH-AES-256-GCM-SHA384 2018-01-09 20:57:02 Session is ACTIVE 2018-01-09 20:57:02 EVENT: GET_CONFIG 2018-01-09 20:57:02 Sending PUSH_REQUEST to server... 2018-01-09 20:57:02 OPTIONS: 0 [route] [10.8.0.1] [255.255.255.255] 1 [route] [10.8.0.0] [255.255.255.0] 2 [route] [192.168.x.x] [255.255.255.0] 3 [dhcp-option] [DNS] [208.67.222.222] 4 [dhcp-option] [DNS] [208.67.220.220] 5 [redirect-gateway] [def1] 6 [route] [10.8.0.0] [255.255.255.0] 7 [topology] [net30] 8 [ping] [10] 9 [ping-restart] [120] 10 [ifconfig] [10.8.0.6] [10.8.0.5] 2018-01-09 20:57:02 PROTOCOL OPTIONS: cipher: AES-256-CBC digest: SHA256 compress: LZO peer ID: -1 2018-01-09 20:57:02 EVENT: ASSIGN_IP 2018-01-09 20:57:02 NIP: preparing TUN network settings 2018-01-09 20:57:02 NIP: init TUN network settings with endpoint: 176.175.x.x 2018-01-09 20:57:02 NIP: adding IPv4 address to network settings 10.8.0.6/255.255.255.252 2018-01-09 20:57:02 NIP: adding (included) IPv4 route 10.8.0.1/32 2018-01-09 20:57:02 NIP: adding (included) IPv4 route 10.8.0.0/24 2018-01-09 20:57:02 NIP: adding (included) IPv4 route 10.8.0.0/24 2018-01-09 20:57:02 NIP: redirecting all IPv4 traffic to TUN interface 2018-01-09 20:57:02 NIP: adding DNS 208.67.222.222 2018-01-09 20:57:02 NIP: adding DNS 208.67.220.220 2018-01-09 20:57:02 Connected via NetworkExtensionTUN 2018-01-09 20:57:02 LZO-ASYM init swap=0 asym=0 2018-01-09 20:57:02 EVENT: CONNECTED @my.dns:443 (176.175.x.x) via /TCPv4 on NetworkExtensionTUN/10.8.0.6/ gw=[/] <Worked fine for maybe 1 minute... then I disconnected manually from the app.> 2018-01-09 21:01:03 Raw stats on disconnect: BYTES_IN : 9700911 BYTES_OUT : 1399992 PACKETS_IN : 6418 PACKETS_OUT : 9153 TUN_BYTES_IN : 904069 TUN_BYTES_OUT : 8984158 TUN_PACKETS_IN : 9854 TUN_PACKETS_OUT : 11044 TCP_OVERFLOW : 684 2018-01-09 21:01:03 Performance stats on disconnect: CPU usage (microseconds): 2412132 Tunnel compression ratio (uplink): 1.54855 Tunnel compression ratio (downlink): 1.07978 Network bytes per CPU second: 4602112 Tunnel bytes per CPU second: 4099372 2018-01-09 21:01:03 EVENT: DISCONNECTED
-
- OpenVpn Newbie
- Posts: 15
- Joined: Sat Oct 15, 2016 9:18 am
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Jan 09, 2018 9:45 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
If an additional complain can help accessing ASAP a renamed OpenVPN 1.1.1 on Apple Store. Ver 1.2.5 not working at all with BufferVPN profiles on both my iPhone and iPad. Really disruptive
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Jan 09, 2018 10:09 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
Greetings,
I just wanted to mention that if anyone is in a pinch using mobileconfig files to provision On Demand VPN, the workaround that seems to have helped me is to add the "CERT" and "KEY" strings into the mobileconfig file.
Just as an example, my mobileconfig file previously only had my encrypted certificate bundle and the "CA" cert for the OpenVPN vendor specific settings listed as a key and string value. I added the base64 encoded versions of the certificate and the private key the same way that I added the "CA" in the OpenVPN settings.
This allowed my mobileconfig file to provision and use VPN On-Demand as before.
So if you were to edit the mobileconfig directly you would add the following (note: I'm just using some random keystrokes to simulate the base64 string for illustration purposes) :
<key>cert</key>
<string>-----BEGIN CERTIFICATE-----\n
Mkkjslkjslkjsnenlkjsnnldkckjslknslks\n
kjkllksndnsljnsndslnsnklsflsknsfdlnsd\n
...
-----END CERTIFICATE-----\n
</string>
<key>key</key>
<string>-----BEGIN PRIVATE KEY-----\n
jkljafdljljlkjdaflksjlkjlkjslkjslkjensef\n
ljlkjdkjskjskjslkjslkjslkjsldjlkjsjlsljsd\n
...
-----END PRIVATE KEY -----\n
</string>
If you do this through Apple Configurator 2 it's easier, just add the Key and paste the value (as plain text) under "Custom Data" (do NOT forget to add the "\n" at the end of each new line)
I realize this won't be practical for everyone but if you are in a pinch it might help.
To the developers, I think all of us have struggled with this update to some degree but I don't want to forget that OpenVPN itself (and this app in particular) has been a blessing and very useful to me. I know you all are likely frustrated (as many of us are) but hey, we appreciate the software, we appreciate your work, and we appreciate you. Hang in there, we know you'll get it worked out.
I just wanted to mention that if anyone is in a pinch using mobileconfig files to provision On Demand VPN, the workaround that seems to have helped me is to add the "CERT" and "KEY" strings into the mobileconfig file.
Just as an example, my mobileconfig file previously only had my encrypted certificate bundle and the "CA" cert for the OpenVPN vendor specific settings listed as a key and string value. I added the base64 encoded versions of the certificate and the private key the same way that I added the "CA" in the OpenVPN settings.
This allowed my mobileconfig file to provision and use VPN On-Demand as before.
So if you were to edit the mobileconfig directly you would add the following (note: I'm just using some random keystrokes to simulate the base64 string for illustration purposes) :
<key>cert</key>
<string>-----BEGIN CERTIFICATE-----\n
Mkkjslkjslkjsnenlkjsnnldkckjslknslks\n
kjkllksndnsljnsndslnsnklsflsknsfdlnsd\n
...
-----END CERTIFICATE-----\n
</string>
<key>key</key>
<string>-----BEGIN PRIVATE KEY-----\n
jkljafdljljlkjdaflksjlkjlkjslkjslkjensef\n
ljlkjdkjskjskjslkjslkjslkjsldjlkjsjlsljsd\n
...
-----END PRIVATE KEY -----\n
</string>
If you do this through Apple Configurator 2 it's easier, just add the Key and paste the value (as plain text) under "Custom Data" (do NOT forget to add the "\n" at the end of each new line)
I realize this won't be practical for everyone but if you are in a pinch it might help.
To the developers, I think all of us have struggled with this update to some degree but I don't want to forget that OpenVPN itself (and this app in particular) has been a blessing and very useful to me. I know you all are likely frustrated (as many of us are) but hey, we appreciate the software, we appreciate your work, and we appreciate you. Hang in there, we know you'll get it worked out.
-
- OpenVPN User
- Posts: 20
- Joined: Mon Jun 30, 2014 11:04 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
-
- OpenVpn Newbie
- Posts: 7
- Joined: Mon Jan 08, 2018 9:55 pm
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
I had previously tried what you recommended above with no success initially as my private key was encrypted with a passphrase. After I removed the passphrase (not what I WANTED to do), I found that this worked. So, it appears to be a valid workaround for the time being if you're willing to remove the passphrase from your key.rusherfan1560 wrote: ↑Tue Jan 09, 2018 10:27 pmGreetings,
I just wanted to mention that if anyone is in a pinch using mobileconfig files to provision On Demand VPN, the workaround that seems to have helped me is to add the "CERT" and "KEY" strings into the mobileconfig file.
Just as an example, my mobileconfig file previously only had my encrypted certificate bundle and the "CA" cert for the OpenVPN vendor specific settings listed as a key and string value. I added the base64 encoded versions of the certificate and the private key the same way that I added the "CA" in the OpenVPN settings.
This allowed my mobileconfig file to provision and use VPN On-Demand as before.
So if you were to edit the mobileconfig directly you would add the following (note: I'm just using some random keystrokes to simulate the base64 string for illustration purposes) :
<key>cert</key>
<string>-----BEGIN CERTIFICATE-----\n
Mkkjslkjslkjsnenlkjsnnldkckjslknslks\n
kjkllksndnsljnsndslnsnklsflsknsfdlnsd\n
...
-----END CERTIFICATE-----\n
</string>
<key>key</key>
<string>-----BEGIN PRIVATE KEY-----\n
jkljafdljljlkjdaflksjlkjlkjslkjslkjensef\n
ljlkjdkjskjskjslkjslkjslkjsldjlkjsjlsljsd\n
...
-----END PRIVATE KEY -----\n
</string>
If you do this through Apple Configurator 2 it's easier, just add the Key and paste the value (as plain text) under "Custom Data" (do NOT forget to add the "\n" at the end of each new line)
I realize this won't be practical for everyone but if you are in a pinch it might help.
To the developers, I think all of us have struggled with this update to some degree but I don't want to forget that OpenVPN itself (and this app in particular) has been a blessing and very useful to me. I know you all are likely frustrated (as many of us are) but hey, we appreciate the software, we appreciate your work, and we appreciate you. Hang in there, we know you'll get it worked out.
FWIW, I also tried creating an .ovpn12 bundle where the private key internally is also NOT encrypted -- that doesn't work.
Last edited by agelwarg on Wed Jan 10, 2018 12:04 am, edited 1 time in total.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Wed Jan 10, 2018 12:01 am
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
Please give us something to use whilst you fix this, I'm tearing my hair out here, searching the Net for some kind of workaround
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Jan 10, 2018 1:24 am
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
For those who want to roll back to v1.1.1, you don’t need to jailbreak your phone. You can accomplish the roll back with these steps. First of all you will need to download these tools:
iTunes 12.6.3 (the latest version of iTunes no longer has App Store so you will need install an older version):
http://osxdaily.com/2017/10/09/get-itun ... app-store/
Fiddler (to trick App Store to give you an older version of iPhone/iPad app):
https://www.telerik.com/fiddler
And follow this generic tutorial:
https://m.youtube.com/watch?v=LBNHia-lqs8
You will also need to disable auto update for apps in iPhone settings (Settings -> iTunes & App Store -> Updates -> toggle to OFF).
Good luck!
iTunes 12.6.3 (the latest version of iTunes no longer has App Store so you will need install an older version):
http://osxdaily.com/2017/10/09/get-itun ... app-store/
Fiddler (to trick App Store to give you an older version of iPhone/iPad app):
https://www.telerik.com/fiddler
And follow this generic tutorial:
https://m.youtube.com/watch?v=LBNHia-lqs8
You will also need to disable auto update for apps in iPhone settings (Settings -> iTunes & App Store -> Updates -> toggle to OFF).
Good luck!
Last edited by bearever on Wed Jan 10, 2018 5:58 am, edited 4 times in total.
- taiwanmobileservices
- OpenVPN User
- Posts: 38
- Joined: Sun Jun 30, 2013 2:34 am
- Location: Taiwan
- Contact:
Re: Upgrade to OpenVPN 1.2.5 (iOS): issues
Hi!
Please make this iOS OpenVPN Connect App with Paid, say, US 2.99 ~ 3.99, to support you guys at the developing and supporting team!
I believe in this way you should get some more skilled resources to make the OpenVPN Connect App more Secured and Reliable plus even more features.
I also believe people like us need to use OpenVPN Connect App for our daily life and work are will to pay.
Thanks/Br,
Birdman Hsu
Please make this iOS OpenVPN Connect App with Paid, say, US 2.99 ~ 3.99, to support you guys at the developing and supporting team!
I believe in this way you should get some more skilled resources to make the OpenVPN Connect App more Secured and Reliable plus even more features.
I also believe people like us need to use OpenVPN Connect App for our daily life and work are will to pay.
Thanks/Br,
Birdman Hsu
ordex wrote: ↑Tue Jan 09, 2018 2:14 amHello and thanks for reporting your issues with the new App.
Unfortunately, due to the way the new Apple API works, the App is restricted from accessing the iOS keychain.
Keys have to be imported in the OpenVPN Connect App keychain directly in order to be visible.
This can be done by renaming the extension of your PKCS#12 file to .ovpn12 (instead of .p12 of .pfx) and then sharing the file with the App (same as you would do with a ovpn profile).
Once you shared the file, the key/cert will be saved in the App keychain and will be available for use.
We are currently working with Apple to find a way to have at least partly access to the iOS keychain again.
We are sorry for this change in behaviour. We tried to highlight this change in the changelog, but it was probably not enough.
For those unable to import profiles at all, could you please let us know if you get any error message at all?