list-certs

Syntax

tadm list-certs common_options [--all] [--token=name] [--cert-type=(server|ca; default is 'server')] --config=config_name

Description

Use this command to list all certificates for a configuration. The list-certs command prompts for a token password if the token is password protected.

Options

For information about common_options, run the help command.

--all|-l

If you specify this option, the command displays the issue name and expiry date for each certificate in the configuration.

--token|-t

Specify the token (cryptographic device), that contains the encrypted public key.

--cert-type|-y

Specify the value as server to list the server certificates, or ca to list the certificate authority (CA) certificates.

--config|-c

Specify the name of the configuration for which you want to list the certificates.

Example

tadm list-certs --user=admin --host=admin.example.com --port=8989 
 --prompt=false --config=www.example.org

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.