•
Displaying public key information from the database:
-P -k
[-d
•
Deleting private keys from a key database file:
-D -k
[-d
•
Displaying a list of the options and arguments used by Key Database Tool:
-H
Examples
Includes the following:
•
Creating a Key Database
•
Generating a New Key
•
Displaying Public Key Information
•
Listing Key IDs
•
Deleting a Private Key
Creating a Key Database
This example creates new key database files (
specified directory:
keyutil -N -d
Key Database Tool prompts you as follows:
Creating a brand new key database:keydir/key3.db
Database not initialized. Setting password.
Enter new password:
Re-enter password:
After you enter the password, Key Database Tool creates new
secmod.db
shortkeyID
[-t rsa|dsa] [-h
keydir
password-file
] [-w
shortkeyID
[-t rsa|dsa] [-h
keydir
password-file
] [-w
keydir
files in the specified directory.
tokenname
]
]
tokenname
]
]
key3.db and secmod.db
Chapter 12
Examples
) in the
and
key3.db
Key Database Tool
81