Collections:
Other Resources:
Java "keytool -importcert" Command Options
What options are supported by the "keytool -importcert" command?
✍: FYIcenter.com
Java Keytool can be used to save the certificate received from others into a keystore file
using the "keytool -importcert" command, which supports the following options:
C:\Users\fyicenter> keytool -importcert -help keytool -importcert [OPTION]... Imports a certificate or a certificate chain Options: -noprompt do not prompt -trustcacerts trust certificates from cacerts -protected password through protected mechanism -alias <alias> alias name of the entry to process -file <filename> input file name -keypass <arg> key password -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 Use "keytool -help" for all available commands
The "keytool -importcert" command reads the certificate or certificate chain (where the latter is supplied in a PKCS#7 formatted reply or a sequence of X.509 certificates) from the file cert_file, and stores it in the keystore entry identified by alias. If no file is given, the certificate or certificate chain is read from stdin.
keytool can import X.509 v1, v2, and v3 certificates, and PKCS#7 formatted certificate chains consisting of certificates of that type. The data to be imported must be provided either in binary encoding format, or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard. In the latter case, the encoding must be bounded at the beginning by a string that starts with "-----BEGIN", and bounded at the end by a string that starts with "-----END".
You import a certificate for two reasons:
⇒ "keytool -importcert" Command Examples - Save Certificate to Keystore
⇐ Split Certificate Chain File
2012-07-20, 18🔥, 0💬
Popular Posts:
Certificate Summary: Subject: GlobalSign Issuer: GlobalSign Expiration: 2021-12-15 08:00:00 UTC Key ...
Certificate summary - Owner: www.phpbb.com, phpBB Limited, L=Marlow, ST=Buckinghamshire, GB, OID.2.5...
Certificate Summary: Subject: Certum Domain Validation CA SHA2 Issuer: Certum Trusted Network CA Exp...
How to generate a new DSA key pair with a shorter key size using OpenSSL "gendsa" command? If you ne...
The OCSP tab is used by administrators to add Online Certificate Status Protocol (OCSP) responder UR...