wstkeytool commands

Description

This section contains information on wstkeytool commands, and lists the commands that wstkeytool accepts. Each command has a brief description, a list of options, and an example of its usage.

Each command has its own section heading (the text in the far left margin). Each command section contains a description of the command, its syntax, a list of options, and an example of its use at the command line and in Ant build files. Table 8-6 lists the wstkeytool commands.

Table 8-6: wstkeytool command

Command

Description

changePin

Changes the password of the keystore.

deleteCert

Deletes a key from the keystore.

export

Exports a certificate from the keystore to a file.

genCertReq

Generates a certificate request using PKCS#10 format.

GetCACerts

Lists the CA certificates contained in the keystore.

GetOtherCerts

Lists the Other certificates contained in the keystore.

GetUserCerts

Lists the User certificates contained in the keystore.

import

Imports a certificate from a file to the keystore.

printCert

Prints the certificate information from a file.

NoteTo run wstkeytool commands, you must belong to the Admin Role.