Home Arrow Icon Knowledge base Arrow Icon Global Arrow Icon How can I implement certificate-based proxy authentication in an iOS VPN app


How can I implement certificate-based proxy authentication in an iOS VPN app


To implement certificate-based proxy authentication in an iOS VPN app, follow these steps:

1. Configure the VPN Server

- Set up the VPN server to use certificate-based authentication for the proxy[1][2][3]
- Ensure the server can identify the user's group based on fields in the client certificate[5]

2. Create a Trusted Certificate Profile in Intune

- Import the VPN server's root certificate issued by the CA into an Intune profile[4]
- This trusted certificate profile instructs the iOS device to automatically trust the CA that the VPN server presents[4]

3. Create a SCEP or PKCS Certificate Profile in Intune

- Configure the SCEP or PKCS certificate profile to provide client credentials to the VPN server[4]
- This allows the device to silently authenticate without prompting for a username and password[4]

4. Create a Per-App VPN Profile in Intune

- Include the SCEP or PKCS certificate with client credentials in the VPN profile[4]
- Configure the VPN connection information and enable the per-app VPN flag[4]
- Set the authentication method to Certificates and select the authentication certificate[4]
- Disable split tunneling to force all traffic through the VPN tunnel[4]

By following these steps to configure certificate-based authentication on the VPN server and create the necessary profiles in Intune, you can implement secure proxy authentication in an iOS VPN app without prompting the user for credentials. The trusted certificate and client certificate allow the device to automatically authenticate with the VPN server.

Citations:
[1] https://stackoverflow.com/questions/53852899/ios-keep-showing-proxy-authentication-required-dialog-even-after-passing-usern
[2] https://docs.paloaltonetworks.com/globalprotect/10-1/globalprotect-admin/mobile-endpoint-management/manage-the-globalprotect-app-using-workspace-one/configure-workspace-one-for-ios-endpoints/configure-a-per-app-vpn-configuration-for-ios-endpoints-using-workspace-one
[3] https://www.manageengine.com/mobile-device-management/help/profile_management/ios/mdm_per_app_vpn.html
[4] https://learn.microsoft.com/en-us/mem/intune/configuration/vpn-setting-configure-per-app
[5] https://support.apple.com/en-om/guide/deployment/dep83a4ac49f/web