Home >

LunaSH Command Reference Guide > LunaSH Commands > token > token pki update firmware

token pki update firmware

Update Token firmware, using a firmware update package available on the Luna appliance.
The package must be transferred to the Luna appliance by scp (individually or as a component of a system update), and you must login to the PKI token as Token Administrator or SO before the 'token pki update firmware' command is run.
The command requires no package name.

The term "token" in this case refers to removable token-format HSMs connected via Luna DOCK 2 and USB (legacy equipment), or to a Luna G5 HSM, connected via USB.

Before you can use this command, you must:

acquire the secure package update file from SafeNet and send the file to the Luna SA (using scp or pscp)

open the file on the Luna SA with the lunash command package update <filename> -authcode <authcode>

A capability update or a firmware update is meant to be applied just one time to an HSM. If you attempt to re-apply a capability update to an HSM that already has the capability installed, the system throws an error like " C0000002 : RC_GENERAL_ERROR ". A similar result occurs if you attempt to install a particular firmware update more than once on one HSM. This is expected behavior.

Syntax

token pki update firmware -serial <serialnum> [-force]

Parameter Shortcut Description
-force -f

Force the action without prompting.

-serial -s Specifies the token serial number.

Example

lunash:> token pki update firmware -serial 475289


CAUTION:  This command updates the Token firmware.
          This process cannot be reversed.

          Type 'proceed' to continue, or 'quit'
          to quit now.
          > proceed

        Partition #: 14 Name: Cryptoki User     Status: Passed

Update Result : 0 (Success)

Command Result : 0 (Success)