You are on page 1of 3

How-to generate an Android Keystore mobile certificate?

Instructions on How to generate a Keystore throughout keytool Contributors

Miguel Vicente
A Keystore is a file that stores a security key. You can use it to sign your Android apps. Signing
the app is the way to identify the author of the application for an Android app. Check more Head of Advanced
information about it in the official documentation. Development
miguel.vicente@outsystems.
To create a new Keystore, you can use the keytool command interface. Ensure that you have Java com
installed since this command interface is available in the "bin" directory of your Java installation.
Useful links
1. Check for Keytool.exe in your Java development kit in the bin folder and drag and drop to
the command line. :slack: #architecture-and-
development

Generate and Distribute Your


Mobile App
More Information on
Generating and Distributing Mobile
Apps
Publish Your Mobile Android
Application to the Google Play Store

Navigation
Instructions on How to
generate a Keystore
throughout keytool
2. In the command line run the drag and drop command
How do I generate my
mobile app in OutSystems?

Related articles

How-to generate an Android


Keystore mobile certificate?
How-to generate an iOS
3. Afte, run the command cd path location of keytool.exe. Example: cd C:\Program
mobile certificate on Windows?
Files\Java\jdk1.8.0_241\bin
How-to tackle Application
Performance in Reactive Web
& Mobile

4. After you verify the availability of the keytool command, open a computer command
prompt (Start > Run > cmd.exe) and, if the keytool command is not available in the path,
navigate to the Java "bin" directory. Execute:

keytool -genkey -v -keystore <keystore_name>.keystore -alias <alias_name> -keyalg


RSA -keysize 2048 -validity 10000

Note: If you don’t have access or permissions to generate the Keystore you need to
define the path where you have permissions, see the example below.

where:
<keystore_name> is the name you want to give to the Keystore
<alias_name> is the identifier name for your key (any kind of name you would
like to give)

5.

1
5. Then you need to add some information regarding the Keystore, please see the image
below.

First & Last Name: Your name.


Organizational Unit: The department within the organization.
Organization: The registered organizational name the certificate belongs to. If the
company or department has an &, @, or any other symbol using the shift key in its name,
the symbol must be spelled out or omitted, in order to enroll. For example: "XY & Z
Corporation" would be "XYZ Corporation" or "XY and Z Corporation".
Locality: The business registered location/city (not the actual server location).
State: The business registered state or province. Do not abbreviate the state or province
name, for example, California not CA.
Country Code: The two-letter ISO country code.
6. Then just press enter and go to the destination you have to choose to generate the
keystore.

How do I generate my mobile app in OutSystems?

1. Open your production service center > go to Factory > go to Applications > Select your
application (Sapphire Care)

2. Open Settings choose Release mode, then upload the Keystore key that you have
generated with Keytool, add the password for the Keystore and Alias and add the alias
name that you have defined before.

2
3. In the end, you just need to generate your mobile app.

You might also like