All apps/keytool

keytool

keytool

A key and certificate management utility that lets users administer their own public/private key pairs and associated certificates.

Runs as keytool|macOS, Linux, Windows|docs.oracle.com

Command form

ai-draft · 2 tasks · 11 fields

List keystore entries and generate key pairs. Passwords are deliberately not fields; keytool prompts for them. Other commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui keytool

keytool -list

List keystore entries
List keystore entriesExample values, fixed in this page — nothing here reaches a terminal
Basic
Keystore*
file
Verbose
-v
TasksEach one presets the form for one job
List a keystore
keystoreverbose
ParametersOnly these flags are editable in the form
Keystore
path
-keystore
Alias
string
-alias
Use cacerts
boolean
-cacerts
Verbose
boolean
-v
RFC style output
boolean
-rfc

keytool -genkeypair

Generate a key pair
Generate a key pairExample values, fixed in this page — nothing here reaches a terminal
Basic
Alias*
string
Keystore*
file
Key algorithm
RSAstring
Key size (bits)
2048integer
Validity (days)
365integer
Distinguished name
string
TasksEach one presets the form for one job
RSA 2048 key pair, one year
aliaskeystorekeyalgkeysizevaliditydname
ParametersOnly these flags are editable in the form
Alias
string
-alias
Keystore
path
-keystore
Key algorithm
string
-keyalgRSAEC
Key size (bits)
integer
-keysize
Validity (days)
integer
-validity
Distinguished name
For example CN=Example, O=Org, C=US.
string
-dname
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed keytool against its version. A form that does not match your version is not offered.