Showing results for 
Search instead for 
Did you mean: 

Configuration Steps for an On Demand iOS VPN using AirWatch

Configuration of on-demand VPN profile

Login to AirWatch MDM portal

Login to the admin portal of AirWatch MDM to push the vpn profile to your iPhone profile.

User name - xyzpqr
Password - ******

You will be logged in to the admin portal of AirWatch.

Adding a p12 and server certificate in the device through MDM. 

Go to Devices → Profiles → Add → Add Profile → Apple iOS 

Give a name to 'General' and fill up respective fields.

Select 'Deployment' type

  • Managed: To automatically download those profiles in the device.
  • Manual: To manually download this profile in the device. To download manually , user will get a notification in the 'Hub' app and clicking on this notification will redirect to messages screen of the app. From that screen user can select any of the messages and download the profiles which are available.   

Now select a profile, 'Credentials' to add p12 and Server certificate to your device.
You can add multiple certificates in a single profile. Click on the (+) button to add or (-) to delete.

Add a VPN profile to the device.

Go to Devices → Profiles → Add → Add Profile → Apple iOS 
Give a name to 'General' and fill up respective fields.

Select a profile of 'VPN' and click on 'Configure'. These are the configurations need to setup for VPN profile-

Connection Info





Always On


(Make it false, otherwise device will be in supervised mode)

Connect Automatically True
Connection Name* VPN Configuration

Connection Type*



Certificate #1

(if there is no certificate, please follow #3.1 Step)


Certificate #1

(Select the same 'Certificate' which added in 'Credentials')

Dead Peer Detection Interval

Every 10 minutes

EAP Authentication


(select 'certificate' here)

Enable EAP


Local Identifier*


(This string is CN(Common Name) and SAN-(Subject Alternate Name) of client certificate)

Machine Authentication


(select 'certificate' here) 

Per-App VPN Rules


(This field is mandatory, in order to activate On-Demand VPN)

Remote Identifier*

(This string is CN(Common Name) and SAN-(Subject Alternate Name) of server certificate)

SA Parameters 






Safari Domains


(add the domain names, for which VPN will be on for On-Demand)

Server Certificate Common Name

(This string is CN-Common Name of server root certificate)

Server Certificate Issuer Common Name 

VPN Server Root CA

(This string is CN-Common Name of server root certificate)


(Host Machine IP or Host Name)

TLS Maximum VersioniOS 11

OS Default

TLS Minimum VersioniOS 11

OS Default

After browsing * from the managed iOS device, VPN On-demand profile will be enabled.

Add your credentials

Select 'Credentials' from the same profile. (you may have to scroll down the menu on the right)
Click on 'Configure' to add new credentials.
Add your p12 file here.

Save and Publish

Click on 'Save and Publish' to save the profile.

Now click on 'Publish' to publish the profile.

Respective devices will get updated with the published profile.


Labels (1)
Version history
Revision #:
2 of 2
Last update:
‎07-12-2019 02:14 PM
Updated by:

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community