Installing X.509 Certificates on Android Devices and Emulators

Install the .p12 certificate on the Android device or emulator for authentication. A certificate provides an additional level of secure access to an application, and may be required by an organization's security policy.

Prerequisites
Task
  1. Connect the Android device to your computer with the USB cable.
  2. To install using Eclipse with the ADT plugin:
    Note: USB debugging must be enabled.
    1. Open the Windows File Explorer view. From the menu bar, navigate to Window > Show View > Other.
    2. In the Show View dialog, expand the Android folder and select File Explorer.
    3. Expand mnt > sdcard and select the sdcard folder.
    4. In the top right of the File Explorer view, click Push a file onto the device.
    5. In the Put File on Device dialog, select the certificate and click Open.
  3. To install using Windows Explorer:
    Note: USB debugging must be disabled.
    1. Open Windows Explorer
    2. Under your computer, click the Android device to expand the folder.
    3. Click Device Storage, navigate to and select the certificate.
    4. Import the certificate to the Device Storage folder.
  4. To install using the Android Debug Bridge (adb):
    Note: USB debugging must be enabled. You can enable USB debug mode from the device menu by selecting Settings > Application > USB Debugging.
    1. Open the command line directory to the adb.exe file, for example, C:\Program Files\android-sdk-windows\tools, or C:\Program Files\android-sdk-windows\platform-tools
    2. Run the command: adb push %PathToCert%\MyCert.p12 /sdcard/MyCert.p12