Home >

LunaCM Command Reference Guide > LunaCM Commands > stc > stc enable

stc enable

Enable STC on the current HSM/partition. This command changes the port for the client-partition network link from NTLS to STC and saves the change to the ServerPort00 statement in the Chrystoki.conf (Linux) or crystoki.ini (Windows) file.

This command is valid only if the STC policy is enabled on both the HSM and the partition. See Enabling or Disabling STC on the HSM and Enabling or Disabling STC on a Partition in the Administration Guide.

CAUTION:  Enabling the STC link terminates all existing NTLS sessions.

Syntax

stc enable -id<server_ID> [-force]

Option Shortcut Description
-force -f Force the action without prompting.
-id <server_ID> -i Specifies the identifier of the SafeNet Luna Network HSM appliance to which you want to disable STC, as displayed using the command clientconfig listservers.

Example

lunacm:> clientconfig listservers
 
 Server ID  Server                         Channel  HTL Required
 __________________________________________________________________
 
 0          192.20.11.78                   NTLS     no
 
 1          192.20.11.40                   NTLS     no
 
 
Command Result : No Error
 
 
 
lunacm:> stc enable -id 1
 
        You are about to enable STC to server 192.20.11.40.
        This will initiate an automatic restart of this application. All sessions
        logged in through the application will be closed.
 
        Are you sure you wish to continue?
 
        Type 'proceed' to continue, or 'quit' to quit now -> proceed
 
        Successfully enabled STC to connect to server 192.20.11.40.
 
Command Result : No Error