Configuring the Android Client for Mutual Authentication over HTTP(S)
Configure the Android client for mutual authentication using a certificate provisioned through Afaria Server.
- Verify that the application ID uploaded in Afaria Server's application deployment package matches the Application ID set on the device application.
- Import the root certificate to the device. Note that the server's DNS name, not an IP address, must be described in the certificate's common name (CN) field.
- Verify that the handleOpenURL() method is defined in
index.js. If it is not defined, then define an empty method
for it, so that the client application functions properly when launched by the Afaria
- When you use Client Hub, you can use an optional clienthub.property file to specify the registration settings. Update the file server connection information based on your own server, and add clienthub.property file into the resource folder of the application project.