After completing the preparations and signing the functionality module (FM), you can now load it into the HSM firmware.
To load the FM into the HSM firmware
Use pscp or scp to transfer the signed FM to the appliance administrator account:
pscp <signed_FM> admin@<host/IP>:Use pscp or scp to transfer the signing certificate to the appliance administrator account. If you have previously loaded an FM signed by the same key, it should already be in the appliance admin files.
Connect to the appliance via SSH or a serial connection, and log in to LunaSH as administrator.
Log in as HSM Security Officer (SO):
lunash:> hsm loginConfirm that the signed FM and the correct certificate are present in the admin files:
lunash:> my file listLoad the FM to the HSM by specifying the FM and signing certificate files:
lunash:> hsm fm load -certFile <cert_file> -fmFile <FM_file>Restart the HSM. It is not necessary to reboot the appliance:
lunash:> hsm restartLog back in as HSM SO:
lunash:> hsm loginActivate the Secure Memory File System:
lunash:> hsm fm smfs activateConfirm that the FM was loaded and is now enabled:
lunash:> hsm fm status
Your FM is now loaded and ready to be used.