Find expiration date of Android keystore-ThrowExceptions

Exception or error:

I made a keystore a while ago for my Android apps but I can’t remember how long I set the validity for.

Is there a way to find out how long the keystore is good for?

How to solve:

When you export a signed APK file from the ADT in Eclipse (assuming you are working in Eclipse), the Export Android Application dialog shows the keystore expiry date;

Export Android Application showing the expiry date of keystore


You can use the keytool from the jdk to get certificate info. A command like this should work

keytool -list -v -keystore keystore.jks -alias mydomain


'keystore.jks' with your keystore name
'mydomain' with your alias name

Leave a Reply

Your email address will not be published. Required fields are marked *