Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (71)
EC Keys (2157)
Firefox (30)
General (10)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
OpenSSL (236)
Other (7)
Portecle (38)
Publishers (6123)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5000)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
"keytool -list" Command Examples - List Keystore Entries
How to use the "keytool -list" command? I want to see what in the keystore file.
✍: FYIcenter.com
Here is an example of using "keytool -list" command to
display a list of all entries in the default keystore file:
C:\Users\fyicenter> keytool -list -storepass FYIcenter Keystore type: JKS Keystore provider: SUN Your keystore contains 2 entries 2ndkey, Jul 4, 2012, PrivateKeyEntry, Certificate fingerprint (SHA1): 8C:35:4B:1A:25:02:74:32:A8:2D:E4:01:E4:F3:93:13:F5:EE:C0:DA mykey, Jul 1, 2012, PrivateKeyEntry, Certificate fingerprint (SHA1): FA:34:B5:C0:91:37:81:AD:E3:C6:3E:2D:0B:D7:3C:24:30:E0:42:29
What this command did for you:
Note that a "PrivateKeyEntry" entry contains both the private key and the self-signed certificate of the public key.
If you want to save the certificate in a file, you can use the "-file" option:
C:\Users\fyicenter> keytool -exportcert -storepass FYIcenter -alias 2ndkey -rfc -file 2nd_cert.pem Certificate stored in file <2nd_cert.pem>
⇒ Java "keytool -printcert" Command Options
⇐ Java "keytool -list" Command Options
2012-07-19, 19727👍, 0💬
Popular Posts:
Certificate Summary: Subject: Cybertrust Global Root Issuer: Cybertrust Global Root Expiration: 2021...
Certificate summary - Owner: *.oakley.com, Akamai Wildcard SSL, Oakley, L=Foothill Ranch, ST=CALIFOR...
Certificate Summary: Subject: OneLogin Account 98624 Issuer: OneLogin Account 98624 Expiration: 2020...
Where to find tutorials on managing certificate in Firefox? I want to learn how Firefox stores and m...
Certificate summary - Owner: *.skype.com, Skype Technologies SA, Information Security, L=Luxembourg,...