Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (71)
EC Keys (2053)
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 (5949)
Revoked Certificates (16)
Root CA (85)
RSA Keys (4865)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
Java "keytool -exportcert" Command Options
What options are supported by the "keytool -exportcert" command?
✍: FYIcenter.com
Java Keytool can be used to export a single certificate out of a key store file with the "keytool -exportcert" command
which supports the following options:
C:\Users\fyicenter> keytool -exportcert -help keytool -exportcert [OPTION]... Exports certificate Options: -rfc output in RFC style -alias <alias> alias name of the entry to process -file <filename> output file name -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 -exportcert" command reads (from the keystore) the certificate associated with alias, and stores it in the file cert_file.
If no file is given, the certificate is output to stdout.
The certificate is by default output in binary encoding, but will instead be output in the printable encoding format, as defined by the Internet RFC 1421 standard, if the -rfc option is specified.
If alias refers to a trusted certificate, that certificate is output. Otherwise, alias refers to a key entry with an associated certificate chain. In that case, the first certificate in the chain is returned. This certificate authenticates the public key of the entity addressed by alias.
This command was named -export in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarify the new name, -exportcert, is preferred going forward.
⇒ "keytool -exportcert" Command Examples - Exporting Certificate
⇐ "keytool -genkeypair" Command Examples - Generate Key Pair
2012-07-19, 11902👍, 0💬
Popular Posts:
Do you want to learn how to use Java Keytool as a certificate management tool? Here is a collection ...
Certificate summary - Owner: www.orange.fr, Orange France, France Telecom SA, L=Paris, ST=France, FR...
How to encrypt a file with an RSA public key using OpenSSL "rsautl" command? If you want to encrypt ...
How to see the signing chain of a server certificate in IE? I want to know the root CA who signs the...
What can I use OpenSSL "rsautl" command for? What are options supported by the "rsautl" command? Ope...