How to check if keystore is valid?

3.8k Views Asked by At

I switched to a different computer (all opensuse linux with eclipse) and I am not succeeding in signing my updated app with the same key.

Advised by other posts on stack I :

  • tried to delete trusted.certs (but could not find this file)
  • looked for debug.keystore. There was one on my old computer. If I open this in export-> exclipse, he asks me for a password instead/or asks if it was tampered with of the "keystore not valid". Did not succeed in inputting the right password.
  • I could not find deault.keystore in ~/.android
  • I have a file that I think is my keystore, but I am not sure it is. Could somebody verify this? Here is the file: https://dl.dropboxusercontent.com/u/13564139/dorienhskey

When I try to export with this keystore, I get "Invalid keystore format". I have this file and thisfile.pub in my project directory. Perhaps this is not the keystore, but the key somehow? Would it be possible that I uploaded my app with the debug.keystore? As I can't find any other.

Should I look for some other file?

1

There are 1 best solutions below

7
On

That doesn't look like a keystore. That looks like a certificate.

You cannot update your app with the debug keystore. You will need to use the keystore which you had used the first time.

How to find? Keep looking at other places.

Identify: If you open the file in UTF encoding, you should see some text, like your "Name", or "Organization Name", you might have given when you had created that keystore.

You could try open the debug.keystore and see what it looks like. Your keystore would be similar.