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> 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.
⇒ "keytool -list" Command Examples - List Keystore Entries
⇐ "keytool -exportcert" Command Examples - Exporting Certificate
2016-06-27, ≈42🔥, 2💬
Popular Posts:
How to run OpenSSL "req -509" command to generate self-signed certificate with x.509 v3 extensions? ...
Certificate Summary: Subject: Google Internet Authority G3 Issuer: GlobalSign Expiration: 2021-12-15...
How to export all certificates in the server certificate path to a file in Google Chrome 51? To expo...
How to connect to a HTTPS Web site using OpenSSL? I see the Web sites using the "https:\" format. If...
How to find the OCSP server URL of certificate's CA? I want to check the status of a certificate usi...