Use the makebootconfig
command with the required
-store-security
option to set up the
basic store configuration with security:
java -jar KVHOME/lib/kvstore.jar makebootconfig -root <kvroot> -port <port> -admin <adminport> -host <hostname> -harange <harange> -store-security configure -capacity <capacity>
where -store-security
has the
following options:
-store-security none
No security will be used. If a directory named "security" exists, a warning message will be displayed. When you opt out of security, you lose all the security features in your store; you are not able to set password authentication for users and systems, encrypt your data to prevent unauthorized access, etc.
-store-security configure
Security will be used and the security
configuration
utility will be
invoked as part of the makebootconfig process. If
the security directory already exists, an error
message is displayed, otherwise the directory will
be created.
For script-based configuration you can use the
-kspwd<password>
option to allow tools to specify the keystore
password on the command line. If it is not
specified, the user is prompted to enter the
password.
Use the -pwdmgr
option to
select a password manager implementation. Its
usage is introduced later in this section.
-store-security enable
Security will be used. You will need to
configure security either by utilizing the
security configuration
utility or by copying a previously created
configuration from another system.
For more information on configuring security with makebootconfig, see Adding Security to a New Installation.