Aller au contenu principal

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 XCC for authentication to the SKLM server.

Syntax:
storekeycfg [-options]
Table 1. storekeycfg options
OptionDescriptionValues
-add -ip -pn -u -pw -fAdd the activation key
  • -ip: Valid host name or IP address for TFTP/SFTP server

  • -pn: Valid port number for TFTP/SFTP server (default value is 69/22)

  • -u: Valid user name for SFTP server

  • -pw: Valid password for SFTP server

  • -f: Valid 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
-sxipAdd the host name or IP address for the SKLM serverValid host name or IP address for SKLM server, x is a numeric value of 1, 2, 3, or 4.
-sxpnAdd the port number of the SKLM serverValid port number for SKLM server, x is a numeric value of 1, 2, 3, or 4.
-pollPeriodically verify connection to serverenabled, disabled
-piPolling interval timePolling interval time in minutes
-ps Last successful polling time (read only) 
-testxTest the configuration and connection to the SKLM serverx is a numeric value of 1, 2, 3, or 4.
Example:
system> storekeycfg -s1ip 192.168.11.1 -s1pn 5697 -poll enabled -pi 11
ok
system> storekeycfg
storekey-server Trusted Certificate: Not available.
s1ip: 192.168.11.1 s1pn: 5697
s2ip: s2pn: 5696
s3ip: s3pn: 5696
s4ip: s4pn: 5696
Server Protocol: KMIP
Polling: enabled
Poll interval: 11 (minutes)
Poll timestamp: 0