Find expiration date of Android keystore

后端 未结 2 1372
一个人的身影
一个人的身影 2020-12-25 13:03

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条回答
  •  既然无缘
    2020-12-25 13:22

    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
    

提交回复
热议问题