3.4.11.2 Service Mode

The service mode is designed for normal U-HSM server operation and can be used under the non-administrator account. The server configuration must be performed by a user with administrator privileges.

While a non-administrator user has restricted access to the system resources and services, the U-HSM Control Panel application allows a non-administrator user to perform certain administration tasks of the U-HSM server.

For more details about service mode of execution and setup instructions, see section Running U-HSM Server as a Service.

Using U-HSM Server in Command Line Mode

The following steps require a user account with administrative privileges.

The U-HSM server executable U-HSMServer.exe is located in the Server directory.

For example, C:\Microsemi\Server\U-HSMServer.exe

  1. Start the console window: type cmd in the Windows Start Menu window and right-click Command Prompt desktop app. Then, choose Run as administrator.
  2. In the open console window, navigate to the "server" directory and type mu-hsmserver.exe.

Upon startup, the server initializes a session with the HSM module. The following figure shows the output:

Figure 3-18. U-HSM Server is Initializing Session With HSM Module

If the SEE machine firmware load is still in progress, the session initialization waits for the load to finish. The SEE machine firmware load takes place in the following cases:

  • Turning on or restarting the PC hosting the U-HSM server.
  • Restarting the nCipher nFast Server service that handles HSM modules.
  • HSM module reinitialization through issuing Security World commands, such as nopclearfail.
  • Setting up or changing settings for the SEE firmware load (for example, loadsee-setup).
Note: When a session is waiting for the SEE firmware to load, session initialization time depends on the module type, and might vary from one minute for a Solo module to four minutes for an Edge module, respectively.

Sample output after session initialization is finished after waiting for SEE firmware load, as shown in Figure 3-19.

Figure 3-19. U-HSM Server is Initialized

The session can be terminated by pressing the Enter key:

Figure 3-20. U-HSM Server is Stopped
Note:
  • During the session, the server produces log output of the HSM invocations into:

    C:\ProgramData\G4KMSServer\G4KMSHSMAPI.log.

  • Any error information outputs into:

    C:\Microsemi\Server\U-HSMServer.log

Both the log files are important during failure analysis and can be sent to Microchip technical support for analysis.