Similarly one may ask, how do I find my alias key?
To get the Key Alias: I copied the keytool.exe and my keystore file into C:\Program Files\Java\jdk1.7.0_71\bin folder. Then from command prompt I wrote: keytool -list -v -keystore <name>. keystore It will also ask for keystore password then.
Secondly, how do I find my keystore password? If you run the command keytool -keypasswd -keystore <keystore> -alias <alias> -storepass <storepass> -keypass <keypass> -new <keypass> then you will get the error Keystore was tampered with, or password was incorrect if the keystore password is wrong, or the error Cannot recover key if the alias password is wrong.
Beside this, what is a key alias?
The Key Alias is a just a commonplace name that points to a specific certificate. You can create one for each release, or just use the same one for all your apps.
How do I find my apk keystore?
How we can check SHA1 or Signature of APK and Keystore file
- Open your folder where you store your APK file in the terminal.
- Now you need to run this command keytool -printcert -jarfile app-release.
- Once you enter the above command you will get your Certificate fingerprints information as shown in the below image.