To set password for the internal PKCS11 token, perform the following tasks:
Go to the configuration page in administration console.
Click the Certificates > PKCS11 Tokens tab.
Click the PKCS11 token name (default is internal).
Select the Token State checkbox.
Enter password information.
If you do not want to be prompted for password at instance startup, select the checkbox. Do not prompt for the new password at instance startup. Click OK.
The password will be saved in the configuration. To remove the password, perform the above steps and select Unset Password option.
Using CLI
To set the password for the internal PKCS11 token through CLI, execute the following command.
wadm> set-token-pin --user=admin --password-file=admin.pwd --host=serverhost --port=8989 --config=config1 --token=internal |
See CLI Reference, set-token-pin(1).