Apple Mac (27)
DH Keys (39)
DSA Keys (70)
EC Keys (968)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
Revoked Certificates (16)
Root CA (85)
RSA Keys (2635)
What Is (22)
Java "keytool -importcert" Command Options
What options are supported by the "keytool -importcert" command?
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
⇑ Managing Certificates with Java Keytool
2012-07-20, 16942👍, 0💬
Certificate Summary: Subject: *.wikipedia.org Issuer: DigiCert High Assurance CA-3 Expiration: 2012-...
How to list all commands in OpenSSL? I don't remember exactly what is the command to generate a CSR....
Certificate Summary: Subject Common Name (CN): Go Daddy Root Certificate Authority - G2 Issuer Commo...
How to verify an HTTPS server certificate? To help you to verify an HTTPS server certificate and vie...
Certificate Summary: Subject: TC TrustCenter Class 2 CA II Issuer: TC TrustCenter Class 2 CA II Expi...