Hari Enaganti
Hari Enaganti

Reputation: 359

How to get keystore file from signed apk

I have already signed my apk with default debug.keystore key.But unfortunately my system destroyed,Now I need to get the key store from the already signed apk.

to replace with old apk with new apk.

I have MD5,SHA fingerprints with.But i could make them as keystore to sign the apk.

Any suggestions would be appreciated.Thank you in advance.

Upvotes: 8

Views: 38376

Answers (1)

Swagat Mali
Swagat Mali

Reputation: 311

unzip -p Name-of-apk.apk META-INF/CERT.RSA | keytool -printcert

is what I used.

It produces information such as the owner, issuer, serial number, valid through, certificate finger prints, signature algorithms and version.

Upvotes: 16

Related Questions