How to Create Custom Android KeyStore for MDX App Wrapping

How to Create Custom Android KeyStore for MDX App Wrapping

book

Article ID: CTX220480

calendar_today

Updated On:

Description

This article will guide the Citrix Endpoint Management admin in creating a custom keystore which will be used to sign the unsigned android apps using MDX toolkit and/or using MDX as a service.


Instructions

Environment Details

This section is used to describe the lab environment used for this configuration.

 
TerminologyDetails
Windows ComputerWindows 10
Mac ComputerMAC OS sierra

Pre-requisites
 
This document is prepared assuming that
·        You have a MAC computer or a Windows computer.
·        You have Java installed on your computer.
 
Note: All screenshots in this document are for representational purposes only.
 
Configuration Steps to Create Android KeyStore On Windows Computer
 
Step 
         1.           Login to Windows computer and launch command prompt.
 
User-added image
 
         2.           From the Command prompt console run the following command and hit enter.
 
“keytool -genkey -v -keystore <my-release-key>.keystore -alias <alias_name> -keyalg RSA -keysize 2048 -validity 10000”
 
User-added image
 
Note: If you are not able to execute the keytool command, confirm that the keytool.exe is indeed present in the location “C:\Program Files\Java\jre7\bin”. You can navigate to that folder then execute the command.
         3.           Once you hit enter, follow the on-screen instructions and povide the required details to create the KeyStore file.
 
User-added image
 
         4.           Once you generate the keystore, you can collect it from the folder location that you have it on the command prompt, for example in the above screen shot the floder location is “C:\Users\AG”
 
User-added image
 
Note: Make sure you remember the password that you have set here(both keystore and Alias), you will be using it while wrapping/singing the Android application. Also, make sure you back up keystore file for future reference and usage.
Steps to Create Android KeyStore On MAC Computer
 
Step 
         1.           Login to MAC computer and launch Terminal.
 
User-added image
 
         2.           From the Command prompt console run the following command and hit enter.
 
“keytool -genkey -v -keystore <my-release-key>.keystore -alias <alias_name> -keyalg RSA -keysize 2048 -validity 10000”
 
User-added image
 
         3.           Once you hit enter, follow the on-screen instructions and povide the required details to create the KeyStore file.
 
User-added image
 
Note: Make sure you remember the password that you have set here, you will be using it while wrapping/singing the Android application. Also, make sure you back up keystore file.
 
         4.           Once you generate the keystore, you can collect it from the folder location that you have it on the command prompt, for example in the above screen shot the floder location is “/Users/Michael/”
 
 User-added image

 
Note: Make sure you remember the password that you have set here(both keystore and Alias), you will be using it while wrapping/signing the Android application. Also, make sure you back up keystore file for future reference and usage.
 
 User-added image

Issue/Introduction

This article will guide the Citrix Endpoint Management admin in creating a custom keystore which will be used to sign the unsigned android apps using MDX toolkit and/or using MDX as a service.

Additional Information

How to use MDX Service on Citrix Endpoint Management:
https://support.citrix.com/article/CTX220487
 
How to Configure Multiple Domains for Citrix Endpoint Management:
https://support.citrix.com/article/CTX220491
 
How to Configure Certificate Based Authentication for Citrix Endpoint Management:
https://support.citrix.com/article/CTX220479
 
How to Create Apple Certificate and Provisioning Profile for MDX App Wrapping:
https://support.citrix.com/article/CTX220481