hsm

Access commands that allow you to manage the HSM on the appliance.

NOTE   HSM commands from LunaSH are queued along with other demands on the HSM (such as cryptographic operations), and can run more slowly than normal if the HSM is very busy, such as when it is performing high-volume ECDSA signing operations.

Syntax

hsm

changepolicy
changepw
checkcertificates
displaylicenses
factoryreset
firmware
fm
generatedak
information
init
loadcustomercert
login
logout
ped
selftest
setlegacydomain
show
showpolicies
stc
stm
supportinfo
tamper
time
update
zeroize

Argument(s) Shortcut Description
changepolicy changepo

Sets a policy on or off, or to set it to a certain value if it is a numerical policy. See hsm changePolicy.

changepw changepw

Changes the password or PED key contents for the HSM Admin. See hsm changePw.

checkcertificates che Checks the HSM for presence of MAC and DAC. See hsm checkCertificates.
displaylicenses d Display a list of all licenses on the HSM. See hsm displayLicenses.
factoryreset
fa Set the HSM back to its factory default settings. Zeroize partitions, roles, and objects, delete the RPV (if any), and reset partition policies to original settings. See hsm factoryReset.
firmware fi Update or rollback the HSM firmware. See hsm firmware.
fm fm Manage Functionality Modules. See hsm fm.
generatedak g Generate a new DAK pair. See hsm generateDAK.
information inf Display HSM information, reset the HSM counters, or monitor HSM performance. see hsm information.
init ini Initialize the HSM. See hsm init.
loadcustomercert loa Load the customer-signed MAC and DAC. See hsm loadCustomerCert.
login logi Log in as the HSM Admin. See hsm login.
logout logo Log out the HSM Admin account. See hsm logout.
ped p Display or change the configuration of the PED. See hsm ped.
selftest sel Test the cryptographic capabilities of the HSM. See hsm selfTest.
setlegacydomain set Set the legacy cloning domain on an HSM. See hsm setLegacyDomain
show sh Display a list showing the current configuration of the HSM. See hsm show.
showpolicies showp Display the current settings for all hsm capabilities and policies, or optionally restrict the listing to only the policies that are configurable. See hsm showPolicies.
stc stc Configure and manage the secure trusted channel (STC) link that is local to the appliance, that is, from the LunaSH shell to the HSM SO partition. See hsm stc.
stm stm Show the current secure transport mode status, place the HSM in secure transport mode, or recover from secure transport mode. See hsm stm.
supportinfo su Get HSM support information. See hsm supportInfo.
tamper ta Show and clear HSM tamper state. See hsm tamper.
time ti Display the current HSM time and synchronize HSM time with appliance time. See hsm time.
update u Display or install any available capability or firmware updates. See hsm update.
zeroize z Zeroize the HSM. Destroy all partitions, roles and objects, but preserve the RPV (if one exists) and preserve HSM policy settings. See hsm zeroize.