renew-admin-certs

Syntax

tadm renew-admin-certs common_options [--instance-home=instance_home]

Description

Use this command to renew the administration certificates with the nicknames Admin-CA-Cert, Admin-Server-Cert, and Admin-Client-Cert. This command also updates the nodes that are currently running and are accessible with the renewed certificates. This command can be executed using either --user or --instance-home. The --instance-home option is optional. For information about using --instance-home, see Options.

After the renew-admin-certs command has been executed, the administration server and nodes must be restarted for the new certificates to take effect.

Options

For information about common_options, run the help command.

--instance-home|-i

Indicates the location where the server instances can be found. Use this option if the SSL certificates on the administration server have already expired. Note that when this option is used, only the certificates on the administration server are renewed. To renew the certificates on the administration nodes, the renew-node-certs command must be executed on each of the administration nodes.

Example

Using the --user option:

tadm renew-admin-certs --user=admin
--password-file=./admin.passwd --port=8989 

Using the --instance-home option:

tadm renew-admin-certs --instance-home=/home/otd

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.