THIS IS NOW LEGACY INFORMATION. USE LATEST IOS AND LETS ENCRYPT CERTS
Older iPhone and iPad devices running iSO 8 need a 'profile file' to be generated and then sent to the device. This file contains the IPsec details. FireBrick has a bash script that can be used (on a linux or windows machine with cygwin) to generate the file. This are easier in iOS 9. If you are running iOS9 then see the iOS 9 Page.
You can download the script from:
You may need the package uuid-runtime if you get the error 'uuidgen: command not found'
Install iPhone Profile
Each iPhone needs a profile file specific to that user. Once created you can email this, or make a web link to it, and the iPhone will recognise it and allow it to be installed. Let's call it fred.mobileconfig for our user called fred as in the above example config.
./make-profile SERVER=IP-of-server LOCALID="Fred's iPhone" CA=ca-cert.pem SERVERID=server.example.com USERNAME=fred PROFNAME="Office VPN" VPNNAME=FireBrick fred.mobileconfig
Note that the SERVERID must match the FQDN entry used when making the server certificate, and hence the local-ID in the config for the connection.
- Once the .mobileconfig file has been generated:
- Email the file to the iDevice.
- The file should open in the 'Install Profile' app (Screenshot below)
- Tap Install
- Tap You'll be asked to review and then enter your pin (if you have one for the device) (Screenshot below)
- Tap Install, and then Install again (yes the Third tap!)
- Enter your password for the IPsec account (this is the one as set up in the EAP Identity on the FireBrick (in this example, we had set up a user of fred with a password) (Screenshot below)
- Tap next
- Tap Done
Settings -> VPN - Tap the On/off slider thing
Deleting the VPN Profile
Removing the VPN is not as easy as you would think, the settings is actually a profile, so you need to delete the profile via:
Setting -> General -> Profile -> Click on your VPN profile -> Click Delete Profile