Import the public and private key of the client certificate to the mobile device
using the PKCS12 format. Both the client certificate (stored in the keystore client.p12 containing the
public and private keys) and the certificate authority's certificate, must be added
to the mobile device. You should add the certificate authority's certificate to the
device's trust store. The client certificate in this example for Android is placed in
a location the application can access it from.
adb push SAPServerCA.cer /mnt/sdcard/
adb push client.p12 /mnt/sdcard/
adb shell
cd /mnt/sdcard
ls
exit
For an iOS device, both certificates can be installed into the device's trusted
store by sending them through an e-mail, opening the device browser to a Web page
that contains the links to the certificates, or by using the iPhone Configuration
Utility. See
http://support.apple.com/kb/DL1465.
On the iOS device, the certificates can be viewed and uninstalled under .
In addition to accessing the certificate from the file system and the device's
secure store, the client certificate can be provisioned to the device using Afaria
and then accessed from Afaria using the Logon plugin using the method
sap.AuthProxy.CertificateFromLogonManager("clientKey").