OS Manuals

/usr/lib/jvm/java-1.8-liberica/bin/keytool

Liberica 8 Java development kit

From liberica-8 8.472.11-r3 (enterprise-packages), captured 2026-11-08 by running keytool --help (exit 0). permalink

Key and Certificate Management Tool

Commands:

 -certreq            Generates a certificate request
 -changealias        Changes an entry's alias
 -delete             Deletes an entry
 -exportcert         Exports certificate
 -genkeypair         Generates a key pair
 -genseckey          Generates a secret key
 -gencert            Generates certificate from a certificate request
 -importcert         Imports a certificate or a certificate chain
 -importpass         Imports a password
 -importkeystore     Imports one or all entries from another keystore
 -keypasswd          Changes the key password of an entry
 -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

Use "keytool -command_name -help" for usage of command_name
Options (23)
OptionDescriptionSource
-certreqGenerates a certificate requesthelp
-changealiasChanges an entry's aliashelp
-deleteDeletes an entryhelp
-exportcertExports certificatehelp
-genkeypairGenerates a key pairhelp
-genseckeyGenerates a secret keyhelp
-gencertGenerates certificate from a certificate requesthelp
-importcertImports a certificate or a certificate chainhelp
-importpassImports a passwordhelp
-importkeystoreImports one or all entries from another keystorehelp
-keypasswdChanges the key password of an entryhelp
-listLists entries in a keystorehelp
-printcertPrints the content of a certificatehelp
-printcertreqPrints the content of a certificate requesthelp
-printcrlPrints the content of a CRL filehelp
-storepasswdChanges the store password of a keystorehelp
-storetype storetypeThis qualifier specifies the type of keystore to be instantiated. (in the manual page but not in --help)man
-keystore keystoreThe keystore location. (in the manual page but not in --help)man
-providerName provider_nameUsed to identify a cryptographic service provider's name when listed in the security properties file. (in the manual page but not in --help)man
-providerClass provider_class_nameUsed to specify the name of a cryptographic service provider's master class file when the service provider is not listed in the security properties file. (in the manual page but not in --help)man
-providerArg provider_argUsed with the -providerClass option to represent an optional string input argument for the constructor of provider_class_name. (in the manual page but not in --help)man
-protectedEither true or false. (in the manual page but not in --help)man
-ext name{:criticalDenotes an X.509 certificate extension. (in the manual page but not in --help)man
Examples (36) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.