Forum Discussion
Unable to install certificates for WiFi
Our MDM is using an internal app to install certificates that can be managed by our platform.
The problem is when trying to set up corporate EAP-TLS networks, the device is unable to use the installed certificate for WiFi authentication.
We see that identity certificates that can be installed programatically via
DevicePolicyManager.installKeyPair(ComponentName admin, PrivateKey privKey, Certificate[] certs, String alias, boolean requestAccess)
are installed under User Credentials settings section but for VPN and apps usage, not for WiFi, which is
what the network configuration is expecting.
Is there any other Android SDK API we can use in order to install the certificates for WiFi usage?
Many thanks.
1 Reply
- Emilie_BGoogle Community Manager2 days ago
Hi alvaroblca
I have contacted the team for additional information and they said that you can use the OpenNetworkConfiguration policy to configure Wi-Fi networks on a device.
They’ve also shared this link so you can check the standard JSON-based format: https://developers.google.com/android/management/configure-networks
For the EAP authentication, you can refer to https://developers.google.com/android/management/configure-networks#eap_authentication which includes Certificates objects.
Could you try the above and let us know if that has solved your issue?
Thanks,
Emilie