set-token-pin

Syntax

tadm set-token-pin common_options [--save-pin=true|false] --token=name --config=config_name

Description

Use this command to set or reset the SSL token pin for the server.

Options

For information about common_options, run the help command.

--save-pin|-a

If you specify this option, the SSL token PIN gets saved in server.xml file.

--token|-t

Specify the name of the PKCS #11 token.

--config|-c

Specify the name of the configuration to set the token pin.

Example

tadm set-token-pin --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt 
--token=internal --config=www.example.org 
<tadm Enter token-pin:
<tadm Enter new token-pin:
<tadm Enter new-token-pin again:

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.

See Also

help, get-pkcs11-prop, set-pkcs11-prop, list-tokens, set-token-prop