Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use iOS 8 network extension to install signed VPN profiles programmatically

Based on this tutorial and apple's new network extension framework for iOS 8 I developed a small vpn application that is able to install, remove, connect and disconnect vpn profiles. Unfortunately this tutorial deals only with unsigned vpn profiles. Also, apple didn't publish any documentation so far and refers to the framework's header files where I couldn't find anything about signed vpn profiles. I wonder if there is a way at all. Does anybody know if and how this can be achieved?

I checked the following header files for hints on this topic:

NetworkExtension/NEVPNManager.h
NetworkExtension/NEVPNConnection.h
NetworkExtension/NEVPNProtocol.h
NetworkExtension/NEVPNProtocolIPSec.h
like image 545
ashiaka Avatar asked Feb 12 '23 04:02

ashiaka


2 Answers

The Network Extension framework in iOS 8 creates profiles that are unsigned and there is no option currently to get the profiles to show as signed/verified. Would definitely write a bug report against Apple about this.

like image 188
Nobosi Avatar answered Feb 15 '23 11:02

Nobosi


in iOS 9 user doesn't have this view. User will see only request to add VPN configuration profile to settings. enter image description here

like image 31
Timur Suleimanov Avatar answered Feb 15 '23 09:02

Timur Suleimanov