Skip to main content

storekeycfg command

Use this command to configure the hostname or IP address and network port for a SKLM server.

You can configure up to four SKLM server targets. The storekeycfg command is also used to install and remove the certificates that are used by the IMM2 for authentication to the SKLM server.

The following table shows the arguments for the options.

Table 1. storekeycfg command.

The following table is a multi-row three column table consisting of the options, option descriptions, and associated values for the options.

OptionDescriptionValues
-addAdd the activation keyValues are -ip, -pn, -u, -pw, and -f command options
-ipHost name or IP address for the TFTP/SFTP serverValid host name or IP address for TFTP/SFTP server
-pnPort number of the TFTP or SFTP serverValid port number for TFTP/SFTP server (default value is 69/22)
-uUser name for SFTP serverValid user name for SFTP server
-pwPassword for SFTP serverValid password for SFTP server
-fFile name for activation keyValid file name for activation key file name
-delUse this command to delete the activation key by index numberValid activation key index number from keycfg listing
-dgrpAdd the device groupDevice group name
-sxipAdd the host name or IP address for the SKLM serverValid host name or IP address for SKLM server. Numeric value of 1, 2, 3, or 4.
-sxpnAdd the port number of the SKLM serverValid port number for SKLM server. Numeric value of 1, 2, 3, or 4.
-testxTest the configuration and connection to the SKLM serverNumeric value of 1, 2, 3, or 4
-hDisplay the command usage and options 
Syntax:
storekeycfg [<em className="ph i">options</em>]
options:
-add <em className="ph i">state</em>
-ip <em className="ph i">ip_address</em>
-pn <em className="ph i">port_number</em>
-u <em className="ph i">username</em>
-pw <em className="ph i">password</em>
-f <em className="ph i">filename</em>
-del <em className="ph i">key_index</em>
-dgrp <em className="ph i">device_group_name</em>
-sxip <em className="ph i">ip_address</em>
-sxpn <em className="ph i">port_number</em>
-testx <em className="ph i">numeric value of SKLM server</em>
-h

Examples:

To import the SKLM server certificate, enter the following command:

system> storekeycfg
add -ip 192.168.70.200 -f tklm-server.der
system> ok

To configure the SKLM server address and port number, enter the following command:
system> storekeycfg
-s1ip 192.168.70.249
system> ok
To set the device group name, enter the following command:
system> storekeycfg
-dgrp IBM_SYSTEM_X_SED
system> ok