Last week, Google prompted me to make updates to my app or risk losing access to my Google Play account! The same account that I paid 25 USD for.
Anyways, I have no idea where my upload keys were; so I had to create new ones and I wanted to document the process.
Requesting a new playstore signing key
- Go to the play developer console.
- Navigate to Release -> Setup -> App Signing and then search for “request upload key reset”.
- A new page will appear. The page will contain instructions on generating a new keystore and uploading its certificate.
Details on generating new keystore
By running the below command you can generate a new keystore:
$ keytool -genkey -v -keystore my-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
A keystore is a way to store cryptographic keys. This is why you need to give a unique alias to your key so that it can be identified and referenced later when you sign the apk.
When you start a request for a new upload key, Google console will require you to sign your keystore and share the resulting signature (.pem file)