Normally, without keystore password we have to press enter to see information inside the keystore
This is the better way.
$ echo "" | keytool -list -v -keystore /usr/java/jdk1.8.0_65/jre/lib/security/cacerts -v 2>/dev/null
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 94 entries
Alias name: digicertassuredidrootca
Creation date: Apr 16, 2008
Entry type: trustedCertEntry
Owner: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
Issuer: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
Serial number: ce7e0e517d846fe8fe560fc1bf03039
Valid from: Fri Nov 10 07:00:00 ICT 2006 until: Mon Nov 10 07:00:00 ICT 2031
Certificate fingerprints:
MD5: 87:CE:0B:7B:2A:0E:49:00:E1:58:71:9B:37:A8:93:72
SHA1: 05:63:B8:63:0D:62:D7:5A:BB:C8:AB:1E:4B:DF:B5:A8:99:B2:4D:43
SHA256: 3E:90:99:B5:01:5E:8F:48:6C:00:BC:EA:9D:11:1E:E7:21:FA:BA:35:5A:89:BC:F1:DF:69:56:1E:3D:C6:32:5C
Signature algorithm name: SHA1withRSA
...
...
...
that is all.
Update1: