Reset YubiHSM to Factory Settings

Before deploying the YubiHSM 2 in a production environment, it might be necessary to reset the YubiHSM to its factory settings, for instance to facilitate tests or training.

A reset destroys any objects stored on the YubiHSM that are not factory-installed.

Important

The Authentication Key performing the reset must have the capability reset-device (“Perform a factory reset on the device”)

Physical Reset

The YubiHSM can be physically reset to its factory settings. To do this, while inserting the YubiHSM 2 into a USB port, press the metal rim as you insert it and continue to press the rim for a minimum of 10 seconds.

Reset Using YubiHSM Shell

Please refer to the RESET DEVICE Command.

Reset Using YubiHSM Manager

From the menu

From the main menu, select [Device operations] -> Reset device.

From the command line

Run the command yubihsm-manager reset