Watch Explanation on YouTube
How to use grep to find alias and validity of keystore certificate
Link URL : https://youtu.be/SxMri8hvtPw
- Command
1
$ keytool -list -v -keystore /usr/java/jdk1.7.0_65/jre/lib/security/cacerts -storepass changeit | grep "Alias name\|Valid from:"
- Command to list keystore of type p12
1
$ keytool -list -v -keystore custom.p12 -storetype pkcs12 -storepass changeit | grep "Alias name\|Valid from:"