Home >

LunaSH Command Reference Guide > LunaSH Commands > token > token pki predeploy

token pki predeploy

Initialize a G5 HSM/token for use as a PKI device in SafeNet Network HSM. This command prepares the token to be recognized and deployed.

Note:  The PKI Bundle feature is supported with PED-authenticated SafeNet Network HSM. The connected SafeNet USB HSM must be PED-authenticated. PKI bundling with password-authenticated SafeNet Network HSM or SafeNet USB HSM is not supported.  

Syntax

lunash:> token pki predeploy -label <tokenlabel> -serial <serialnum> [-force]

Parameter Shortcut Description
-force -f

Force the action without prompting.

-label -l Specifies the name of the inserted token to pre-deploy.
-serial -s Specifies the serial number of the token to pre-deploy.

Example

lunash:> token pki predeploy -label myPKI -serial 777199 -force

Please type "proceed" to continue, anything else to abort: proceed
********************************************
*                                          *
*     About to factory Reset the HSM       *
*                                          *
********************************************
********************************************
*                                          *
*   About to initialize the HSM            *
*   Please pay attention to the PED        *
*                                          *
********************************************
 
Do you want to use FIPS-approved algorithms and key strengths only (yes or no)? yes
 
********************************************
*                                          *
*   About to change the HSM FIPS policy    *
*   Please pay attention to the PED        *
*                                          *
********************************************
********************************************
*                                          *
*   About to create a partition on the HSM *
*   Please pay attention to the PED        *
*                                          *
********************************************
********************************************
*                                          *
*   About to set the partition policies    *
*   Please pay attention to the PED        *
*                                          *
********************************************
********************************************
*                                          *
*   About to create a partition challenge  *
*   and activate the partition.            *
*   Please pay attention to the PED        *
*   Please write down the PED secret!      *
*                                          *
********************************************
 
Please enter the partition challenge:       

        Please attend to the PED. 
Success predeploying the token!!
 
Command Result : 0 (Success)