Skip to main content

storekeycfg command

Use this command to configure the host name 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 IMM 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 [options]
options:
-add state
-ip ip_address
-pn port_number
-u username
-pw password
-f filename
-del key_index
-dgrp device_group_name
-sxip ip_address
-sxpn port_number
-testx numeric value of SKLM server
-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