keystore
references:
Keytool Options
-delete
Deletes an entry from the Keystore
-exportcert
Exports a certificate from a Keystore
-genkeypair
Generates a key pair
-genseckey
Generates a secret key pair
-gencert
Generates a certificate from a certificate request
-importcert
Import a certificate or a certificate chain to keystore
-importpass
Imports a password
-importkeystore
Imports one or all entries from another keystore to a keystore
-keypasswd
Changes the key password of an entry in keystore
-list
Lists entries in a keystore
-printcert
Prints the content of a certificate
-printcertreq
Prints the content of a certificate request
-printcrl
Prints the content of a CRL file
-storepasswd
Changes the store password of a keystore
get cert from domain
check crt file
or
add crt into Java keystore
generate a certificate
create java keystore from cert file
using -noprompt -trustcacerts
will skip manual input yes
for Trust this certificate
verify
append to existing java keystore
import an entire keystore into another keystore
import only single alias from keystore to another keystore
export items to cert file
history: 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.
Last updated