-
keyAlias → The “nickname” or identifier of your key inside the keystore. If you have multiple keys in the same keystore, each one has its own alias.
-
keyPassword → The password used to secure and protect the private key. Without it, you cannot use the key to sign your app.
Why You Might Need a New Key
1. Lost Credentials
-
You misplaced the keystore file.
-
You forgot the alias or the password.
- The team member who handled it left the company without sharing details.
2. Compromised Keys
- If your keystore is exposed or hacked, anyone could potentially sign and publish a fake version of your app. In this case, security requires creating a new key immediately.
3. Project Migration
- If you are moving your project to a new setup (for example, moving from one development team to another or switching build pipelines), generating a new key might make sense.
4. Better Management in Teams
- For teams, keeping one person as the sole owner of the keystore is risky. Having Google manage it via Play App Signing, along with a reset request, gives better long-term security and easier collaboration.
Steps to Request a New keyAlias and keyPassword from Google
Step 1: Use Google Play App Signing
Step 2: Generate a New Key Locally
Here’s the command:
$ keytool -genkey -v -keystore upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias new-key-alias
Breaking this down:
-
-genkey → Command to generate a new key.
-
-v → Verbose output (gives more information).
- -keystore upload-keystore.jks → The file that will store your key. If it doesn’t exist, this command creates it.
- -keyalg RSA → Algorithm used (RSA is widely accepted).
-
-keysize 2048 → The size of the key (2048 is secure enough for most apps).
-
-validity 10000 → Number of days the key will be valid (about 27 years).
-
-alias new-key-alias → The identifier of your key. Replace this with your preferred alias.
-
Create a password for the keystore.
-
Enter details like name, organization, location, etc.
- Create the keyPassword for your alias.
Step 3: Submit a Request to Google Support

-
Your App’s Package Name (e.g., com.example.myapp).
-
The reason for requesting a new key.
- The new public key certificate.
To create the public key certificate, run this command:
$ keytool -export -rfc -keystore upload-keystore.jks -alias upload -file upload_certificate.pem
This generates a .pem file that you will send to Google.
Best Practices for Managing Keys
1. Backup your keystore file
2. Use Password Managers
3. Limit Access
4. Prefer Google Play App Signing
5. Document the Process
Conclusion
-
Enable and use Google Play App Signing.
-
Generate a new key locally using keytool.
- Submit a reset request through Google Play Console support with the new certificate.
At Sparkle Web, we don’t just build mobile apps — we also help startups and businesses manage their publishing and security processes. From generating keys to handling Play Store submissions, we make sure your app updates are smooth, secure, and stress-free. Facing issues with the keystore or app signing? Let’s connect and keep your mobile app journey safe and seamless.

Dipak Pakhale
A skilled .Net Full Stack Developer with 8+ years of experience. Proficient in Asp.Net, MVC, .Net Core, Blazor, C#, SQL, Angular, Reactjs, and NodeJs. Dedicated to simplifying complex projects with expertise and innovation.
Reply