How to create Android distribution certificate Use keytool to create a signing key: keytool -genkey -v -keystore redhat.keystore -alias rhmap -keyalg RSA -keysize 2048 -validity 10000 Export the java keystore key intp pkcs#12 format: