Find expiration date of Android keystore

2019-02-02 07:13发布

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?

2条回答
唯我独甜
2楼-- · 2019-02-02 07:42

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

查看更多
霸刀☆藐视天下
3楼-- · 2019-02-02 07:45

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
查看更多
登录 后发表回答