Home >

token pki factoryreset

Note:  PKI mode is no longer supported and these commands have been deprecated.

Resets the backup token to factory default.  You must run this command from the local serial console.

This command works on a removable PKI token in a connected SafeNet DOCK 2, or on a SafeNet Luna USB HSM. If both are connected, both are seen. If two SafeNet Luna USB HSMs are connected for PKI, both are seen. With multiple PKI devices connected, the "tokenfactoryreset" command affects only the device that you identify by serial number. If a backup device (token or SafeNet Luna Backup HSM) is connected, it is ignored by the "token pki..." command.

The action is equivalent to the hsm factoryReset command that acts on the appliance's built-in HSM.

See "Destroy action/event scenarios" to view a table that compares and contrasts various "deny access" events or actions that are sometimes confused. 

User Privileges

Users with the following privileges can perform this command:

Admin

Operator

Syntax

token pki factoryreset -serial <serialnum> [-force]

Option Shortcut Description
-force -f

Force the action without prompting.

-serial <serialnum> -s Specifies the serial number of the token to reset.

Example

lunash:> token pki factoryReset -serial 123456
            
Command Result : 0 (Success)