Home >

LunaCM Command Reference Guide > LunaCM Commands > stcconfig > stcconfig clientregister

stcconfig clientregister

Register a client's STC public key to a partition. You must be logged in to the partition as the SO to use this command.

This command is available only if the current slot is a PPSO partition.

Note:  Each client identity registered to a partition uses 2332 bytes of storage on the partition. Before registering a client identity to a partition, ensure that there is adequate free space.

Syntax

stcconfig clientregister [-slot <slot_id>] -label <client_label> -file <client_public_key>

Parameter Shortcut Description
-slot <slot_id> -s <slot_id>

Specifies the slot containing the partition to which you want to register the client.

This parameter is available only if you are logged into the HSM's Admin partition.

-label -l A string used to identify the client being registered.
-file -f Specifies the full path to the client public key file.

Example

Current slot
lunacm:> stcc clr -n bsalming -f /usr/safenet/lunaclient/identities/45021294.pem
 
Successfully registered the client public key of bsalming in slot 3
Specified slot
lunacm:> stcc clr -s 2 -n bsalming -f /usr/safenet/lunaclient/identities/45021294.pem
 
Successfully registered the client public key of bsalming in slot 2