Categories:
DH Keys (39)
DSA Keys (71)
EC Keys (299)
Firefox (32)
General (13)
Google Chrome (25)
Intermediate CA (152)
Java VM (20)
JDK Keytool (25)
Microsoft CertUtil (26)
Mozilla CertUtil (18)
OpenSSL (237)
Other (17)
Portecle (38)
Publishers (1805)
Revoked Certificates (30)
Root CA (87)
RSA Keys (2071)
Tools (47)
Tutorial (7)
What Is (21)
Windows (129)
Collections:
Other Resources:
Java "keytool -list" Command Options
What options are supported by the "keytool -list" command?
✍: FYIcenter.com
Java Keytool can be used to manage certificates and private keys saved in a keystore file. The first you need to know is the "keytool -list command, which displays a list of all certificate and private key entries in a keystore file.
The "keytool -list" command supports the following options:
C:\Users\fyicenter>"\Program Files\java\jre7\bin\keytool" -list -help keytool -list [OPTION]... Lists entries in a keystore Options: -rfc output in RFC style -alias <alias> alias name of the entry to process -keystore <keystore> keystore name -storepass <arg> keystore password -storetype <storetype> keystore type -providername <providername> provider name -providerclass <providerclass> provider class name -providerarg <arg> provider argument -providerpath <pathlist> provider classpath -v verbose output -protected password through protected mechanism Use "keytool -help" for all available commands
The "keytool -list" command prints (to stdout) the contents of the keystore entry identified by alias. If no alias is specified, the contents of the entire keystore are printed.
This command by default prints the SHA1 fingerprint of a certificate. If the -v option is specified, the certificate is printed in human-readable format, with additional information such as the owner, issuer, serial number, and any extensions. If the -rfc option is specified, certificate contents are printed using the printable encoding format, as defined by the Internet RFC 1421 standard
You cannot specify both -v and -rfc.
2016-06-27, 29575👍, 2💬
Popular Posts:
How to view the ASN.1 structure of an DH public key using the OpenSSL "asn1parse" command? You can u...
Certificate Summary: Subject: Sonera Class1 CA Issuer: Sonera Class1 CA Expiration: 2021-04-06 10:49...
Certificate Summary: Subject: AddTrust External CA Root Issuer: AddTrust External CA Root Expiration...
Why am I getting the "data too large for key size" error, when using OpenSSL "rsautl" command to enc...
How to view the ASN.1 structure of an DH public key using the OpenSSL "asn1parse" command? You can u...