Keytool alias has no key

I am trying to change the private key password in my keystore. Do the following:

keytool -keypasswd -alias <alias name> -keystore <keystore path> 

I get:

 Enter keystore password: <keystore password> 

What returns:

 keytool error: java.lang.Exception: Alias <ltsabreskey> has no key 

This keystore was created using a certificate that was extracted from another keystore for which the password was lost. I'm trying to update an existing application in the Play Store, can this be done with the newly created keystore from the extracted certificate?

+7
java android eclipse keytool
source share
1 answer

Have you checked if the key is really in the keystore? Try the following:

 keytool -list -keystore <keystore path> 

If the alias is incorrect (the key does not exist in the keystore), I get the same error.

0
source share

All Articles