问题
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?
回答1:
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;
回答2:
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
Replace
'keystore.jks' with your keystore name
'mydomain' with your alias name
来源:https://stackoverflow.com/questions/9271466/find-expiration-date-of-android-keystore